cshell within make

Matthew P Wiener wiener at idacrd.UUCP
Mon Jan 13 05:17:56 AEST 1986


> This is on BSD 4.2 (on a Sun, v.2.0...)
> I have several script files written in csh syntax that perform some tests on
> files.  I would like to invoke them from within 'make.'  The problem is that
> make insists on using Bourne shell...this despite the fact that the first line
> in the script file is #/bin/csh, and it runs in csh fine when it is called
> interactively.

Have your system manager recompile make: somewhere in the source is a
line that checks your environmental variable $SHELL.  For some reason
that line is usually commented out, even in BSD.

berkeley!brahms!weemba
Matthew P Wiener
Math Dept UCB
Berkeley CA 94720



More information about the Comp.unix mailing list