[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: debugging help
From: |
Paul D. Smith |
Subject: |
Re: debugging help |
Date: |
Mon, 17 Apr 2006 13:48:20 -0400 |
%% "PATTON, BILLY \(SBCSI\)" <address@hidden> writes:
pb> I am getting an error:
pb> sh: Syntax error at line 1 : `then' is not matched.
That means there's no "fi" matching the "then".
pb> make: *** [real_clean+lbf+bfpdlxml+pub+EB.msg] Error 2
pb> When I use warning I get :
pb> make.clean:120: real_clean+lbf+bfpdlxml+pub+EB.msg :
pb> @echo "deleting real_clean+lbf+bfpdlxml+pub+EB.msg" ; \
pb> if [ EB.msg = extra ] ; then \
pb> cd v0608/SOURCE_TREE/lbf/bfpdlxml ; \
pb> else \
pb> cd v0608/SOURCE_TREE/lbf/bfpdlxml/pub ; \
pb> fi ; \
pb> if [ -f EB.msg ] ; then \
pb> /makefile_test/bin/exec_log -log \
pb> /makefile_test/dev/bp1497/v0608/log.2017123219 \
pb> -proj lbf -bb bfpdlxml /usr/bin/rm \
pb> -f EB.msg || exit $$? \
^^^
You need a semicolon here. Right now the next fi:
pb> fi
is being attached to the previous line so it's:
... -f EB.msg || exit $? fi
--
-------------------------------------------------------------------------------
Paul D. Smith <address@hidden> Find some GNU make tips at:
http://www.gnu.org http://make.paulandlesley.org
"Please remain calm...I may be mad, but I am a professional." --Mad Scientist
- debugging help, PATTON, BILLY \(SBCSI\), 2006/04/17
- Re: debugging help,
Paul D. Smith <=