help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Make doesn't honor .SHELLFLAGS?


From: Warlich, Christof
Subject: Make doesn't honor .SHELLFLAGS?
Date: Thu, 25 Oct 2012 08:57:49 +0200

Hi,

I'd like to have Make to use a shell that executes a specific init file. I 
tried the following, but it doesn't work:

echo "echo -n Hello">xxx && make SHELL=/bin/bash .SHELLFLAGS="--init-file xxx 
-i -c"

The Makefile may be as simple as:

all: ; @echo " World"

but I only see:

$ make
World

while I'd expect:

$ make
Hello World

By the way: This works:

$ echo "echo -n Hello">xxx && /bin/bash --init-file xxx -i -c "echo \" World\""
Hello World

Any ideas?

Cheers,

Chris


reply via email to

[Prev in Thread] Current Thread [Next in Thread]