Thanks, Paul, Believe it or not, I just saw the missing ; when me stupid window popped up to tell me I had this message from you.
It always help to ask someone else. It seems to spur you on to get the job done yourself before someone else responds. I have been looking for that bug for almost 1.5 hours. Thanks again Paul. > -----Original Message----- > From: Paul Smith [mailto:[EMAIL PROTECTED] On Behalf Of Paul D. Smith > Sent: Monday, April 17, 2006 12:48 PM > To: PATTON, BILLY (SBCSI) > Cc: [email protected] > Subject: Re: debugging help > > > %% "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
