Makefile fix for Solaris
authorDennis Stosberg <dennis@stosberg.net>
Mon, 26 Jun 2006 22:21:07 +0000 (00:21 +0200)
committerJunio C Hamano <junkio@cox.net>
Mon, 3 Jul 2006 00:14:43 +0000 (17:14 -0700)
Solaris' /bin/sh does not support $( )-style command substitution

Signed-off-by: Dennis Stosberg <dennis@stosberg.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Makefile

index 13411eafdcf90e7360fe81e010804c656ccc46e9..1121d3e91aae19b05dd520b21b08adcf0ae624ff 100644 (file)
--- 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' \