How about this:

% head -20 /tmp/envsh /tmp/makefile
==> /tmp/envsh <==
#!/bin/sh
exec env - PATH=$PATH TERM=$TERM /bin/sh "$@"

==> /tmp/makefile <==
SHELL := /tmp/envsh

all:
        env | wc -l

% make
env | wc -l
       2
%


_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to