Thread (3 messages) flat view 3 messages, 2 authors, 2016-06-15

Re: [PATCH] "test" in Solaris' /bin/sh does not support -e

From: Dennis Stosberg <hidden>
Date: 2016-06-15 22:42:31

Possibly related (same subject, not in this thread)

Junio C Hamano wrote:
Dennis Stosberg [off-list ref] writes:
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help