From: Dennis Stosberg Date: Mon, 26 Jun 2006 22:21:07 +0000 (+0200) Subject: Makefile fix for Solaris X-Git-Tag: v1.4.3-rc1~2^2~33 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=de86e131b538a021c14d53c6cc98bd7f0330dc92;p=git.git Makefile fix for Solaris Solaris' /bin/sh does not support $( )-style command substitution Signed-off-by: Dennis Stosberg Signed-off-by: Junio C Hamano --- diff --git a/Makefile b/Makefile index 13411eafd..1121d3e91 100644 --- a/Makefile +++ b/Makefile @@ -534,7 +534,7 @@ $(patsubst %.sh,%,$(SCRIPT_SH)) : % : %.sh $(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' \