Path: utzoo!utgpu!water!watmath!clyde!rutgers!sri-unix!quintus!sun!pitstop!sundc!seismo!uunet!mcvax!diku!ambush!kimcm From: kimcm@ambush.UUCP (Kim Chr. Madsen) Newsgroups: comp.unix.questions Subject: Re: Re: csh and $SHELL variable conflicts. Message-ID: <592@ambush.UUCP> Date: 10 Feb 88 11:36:41 GMT Organization: AmbraSoft A/S (Denmark) Lines: 26 joel@intelisc.UUCP (Joel Clark) writes: >I have ATT's Sys V/386 R3.0 V1.0 on an intel 80386 PC/AT bus type >machine. >We aquired a copy of csh through intel's Berkeley source license. >OTHERSH was set to /bin/sh before compiling it. >Shell scripts written with '#' as the first character are run by >/bin/sh EXCEPT when executed from a makefile. make reads the >script and feeds it to the shell defined by $SHELL. All shell scripts are run by the /bin/sh, except make which runs the scripts by the $SHELL - unless you define the variable SHELL inside the makefile - do a SHELL= /bin/sh and all scripts are run by the SHELL variable defined in the makefile. Best Regards Kim Chr. Madsen.