Re: [PATCH] "test" in Solaris' /bin/sh does not support -e
- From
- Dennis Stosberg <dennis@stosberg.net>
- Date
- Jun 26, 2006, 09:42 UTC
- Message-ID
- <20060626094211.G3b49c5c3@leonov.stosberg.net>
- In-Reply-To
- <7vwtb4i89d.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano wrote:
Show 10 quoted lines
> Dennis Stosberg <dennis@stosberg.net> writes: > > > Running "make clean" currently fails: > > [ ! -e perl/Makefile ] || make -C perl/ clean > > /bin/sh: test: argument expected > > make: *** [clean] Error 1 > > Ah, _BAD_. We seem to have the same in git-branch, git-checkout, > git-clone and git-tag. You would probably need this on top of > "master".
The SHELL_PATH in the Makefile is being set to "/bin/bash" on Solaris, so there is currently no problem with those.
A lot of bashisms have been removed from the shell scripts since that SHELL_PATH override was added in September 2005; I will have a look whether it's still necessary.
Regards, Dennis