On Thu, 20 May 2010 21:46:01 +0200 David Engster <d...@randomsample.de> wrote:
> David Schmid writes: > > David Engster <d...@randomsample.de> wrote: > > > >> GNU make will never set the shell from the environment. > >> > >> I've built wmii on Solaris without problems using > >> > >> gmake SHELL=/bin/bash > > > > seeme like using "make SHELL=/bin/bash" instead of "SHELL=/bin/bash > > make" _does_ make a difference. Now this is something new for me. > > You want to set the SHELL macro, not the environment variable SHELL. > The latter will always be ignored by GNU Make, even when using "-e". > > > Now it says: > > > > MAKE all libbio/ > > ../util/compile: syntax error at line 13: `(' unexpected > > make[1]: *** [bbuffered.o] Error 2 > > make: *** [dall] Error 2 > > Sorry, forgot to mention that you still have to set /bin/bash in those > scripts in util. Now that looks awesome. The only thing that does not work is cmd/wihack.sh, even when set to /bin/bash. FILTER cmd/wihack.sh wihack.sh: bad substitution make[1]: *** [wihack.out] Error 1 make: *** [dall] Error 2 But I think I will figure out the rest. Thanks guys. -- regards, David