csh and $SHELL variable conflicts.

Kim Chr. Madsen kimcm at ambush.UUCP
Wed Feb 10 21:36:41 AEST 1988


joel at 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.  



More information about the Comp.unix.questions mailing list