Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/17/84; site bcsaic.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxt!houxm!vax135!cornell!uw-beaver!ssc-vax!bcsaic!michaelm From: michaelm@bcsaic.UUCP (michael b maxwell) Newsgroups: net.unix Subject: cshell within make Message-ID: <425@bcsaic.UUCP> Date: Tue, 7-Jan-86 17:01:58 EST Article-I.D.: bcsaic.425 Posted: Tue Jan 7 17:01:58 1986 Date-Received: Sat, 11-Jan-86 07:35:00 EST Organization: Boeing Computer Services AI Center, Seattle Lines: 25 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. I can get around this by explicitly calling /bin/csh in the Makefile each time I want to run a script file in csh. In other words, instead of: : check.syntax : --I put in: : /bin/csh check.syntax : on each line. Obviously this is a nuisance, as well as a source of errors. And sure, I could use Bourne shell for everything, but I happen to like csh! Am I missing something? Is there a variable that can be set within the Makefile to always use /bin/csh? Or an undocumented command line option? -- Mike Maxwell Boeing Artificial Intelligence Center ...uw-beaver!uw-june!bcsaic!michaelm