makefile bug workaround?

Brain in Neutral bin at primate.wisc.edu
Tue May 23 01:56:43 AEST 1989


>From article <153 at jma.UUCP>, by max at jma.UUCP (Max Heffler @ Landmark Graphics):
> Does anybody have a workaround/PD make for Ultrix 2.0 or 3.0 s5make.
> If I have the following syntax:
> 
> all:
> 	if [ "" != "" ] ; then echo a ; else echo b ; fi
> 
> I get an error code 1.  But not if I change the != to =.
> Thanx in advance.

I've seen this sort of "if" problem under 1.2 also.  The trouble was (and
may still be for newer versions of Ultrix) that "if" returns a bad status.

Paul DuBois
dubois at primate.wisc.edu		rhesus!dubois
bin at primate.wisc.edu		rhesus!bin



More information about the Comp.unix.ultrix mailing list