Re: [PATCH] t/test-lib.sh: do not trust $SHELL
- From
Andreas Schwab <schwab@linux-m68k.org>
- Date
- Sep 21, 2012, 21:57 UTC
- Message-ID
- <m2k3vn9gyu.fsf@igel.home>
- In-Reply-To
- <CALkWK0nLLEF7wnUhF0JUAZVP6GG3KHmuYSDZLPS7uGCZPfhV3w@mail.gmail.com>
Ramkumar Ramachandra <artagnon@gmail.com> writes:
> My SHELL_PATH is not set, and I can see SHELL_PATH ?= $(SHELL) in the > Makefile. Which shell is it supposed to point to?
Inside a makefile the variable SHELL is special in that it is never imported from the environment. If not set it defaults to /bin/sh.
Andreas.
-- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."