max@jma.UUCP (Max Heffler @ Landmark Graphics) (05/13/89)
I have a makefile on Ultrix 3.0 on a DecStation 3100. If I am logged in with a Bourne shell or a C shell and have the line: SHELL=/bin/sh in my makefile, I have the same problem as when I set it to C shell on other Unix systems. If I enter the command: if [ 1 -eq 1 ] ; then echo a ; else echo b ; fi at the command line for the Bourne shell, it works on all of the Unix types I have tried. Under C shell, I get missing [ or ] message. If I force the SHELL to C shell on other Unix machine I get error 1. This is the message I get under Ultrix, no matter which shell I use at login or attempt to force through the SHELL= macro. Anybody have any ideas? Thanx in advance... -- Max Heffler uucp: ..!uunet!jma!max Landmark Graphics Corp. phone: (713) 579-4751 333 Cypress Run, Suite 100 Houston, Texas 77094