Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!dogie.macc.wisc.edu!indri!bin From: bin@primate.wisc.edu (Brain in Neutral) Newsgroups: comp.unix.ultrix Subject: Re: makefile bug workaround? Message-ID: <299@indri.primate.wisc.edu> Date: 22 May 89 15:56:43 GMT References: <153@jma.UUCP> Sender: bin@primate.wisc.edu Reply-To: bin@primate.wisc.edu Lines: 16 From article <153@jma.UUCP>, by max@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@primate.wisc.edu rhesus!dubois bin@primate.wisc.edu rhesus!bin