From: Dennis Stosberg Date: Mon, 26 Jun 2006 22:21:07 GMT Subject: [PATCH] Makefile fix for Solaris Message-ID: <20060626222107.G1b760b67@leonov.stosberg.net> In-Reply-To: <7vd5cvj1d0.fsf@assigned-by-dhcp.cox.net> Solaris' /bin/sh does not support $( )-style command substitution Signed-off-by: Dennis Stosberg --- Makefile | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Makefile b/Makefile index a326f6e..f44fbd3 100644 --- a/Makefile +++ b/Makefile @@ -544,7 +544,7 @@ common-cmds.h: Documentation/git-*.txt $(patsubst %.perl,%,$(SCRIPT_PERL)): perl/Makefile $(patsubst %.perl,%,$(SCRIPT_PERL)): % : %.perl rm -f $@ $@+ - INSTLIBDIR=$$(make -s -C perl instlibdir) && \ + INSTLIBDIR=`make -s -C perl instlibdir` && \ sed -e '1s|#!.*perl\(.*\)|#!$(PERL_PATH_SQ)\1|' \ -e 's|@@INSTLIBDIR@@|'"$$INSTLIBDIR"'|g' \ -e 's/@@GIT_VERSION@@/$(GIT_VERSION)/g' \ -- 1.4.1.rc1.g80bff-dirty