From: Dennis Stosberg Date: Mon, 26 Jun 2006 08:27:54 +0000 (+0200) Subject: "test" in Solaris' /bin/sh does not support -e X-Git-Tag: v1.4.3-rc1~2^2~34 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=c2eeb4dcfece31a90f7de168092f4dfeaab96f95;p=git.git "test" in Solaris' /bin/sh does not support -e Running "make clean" currently fails: [ ! -e perl/Makefile ] || make -C perl/ clean /bin/sh: test: argument expected make: *** [clean] Error 1 Signed-off-by: Junio C Hamano --- diff --git a/Makefile b/Makefile index 9b9be592a..13411eafd 100644 --- a/Makefile +++ b/Makefile @@ -755,7 +755,7 @@ clean: rm -f $(GIT_TARNAME).tar.gz git-core_$(GIT_VERSION)-*.tar.gz rm -f $(htmldocs).tar.gz $(manpages).tar.gz $(MAKE) -C Documentation/ clean - [ ! -e perl/Makefile ] || $(MAKE) -C perl/ clean || $(MAKE) -C perl/ clean + [ ! -f perl/Makefile ] || $(MAKE) -C perl/ clean || $(MAKE) -C perl/ clean $(MAKE) -C templates/ clean $(MAKE) -C t/ clean rm -f GIT-VERSION-FILE GIT-CFLAGS