%% "PATTON, BILLY \(SBCSI\)" <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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
_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make