mirror of
https://github.com/git/git.git
synced 2024-11-20 14:13:58 +01:00
Makefile fix for Solaris
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>
This commit is contained in:
parent
c2eeb4dcfe
commit
de86e131b5
2
Makefile
2
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' \
|
||||
|
Loading…
Reference in New Issue
Block a user