X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=Makefile;h=648469e625bebeea355ff8599499cdb16da99a2f;hb=72fdfb50f721460e4cdff16fbe9c72d4ce6c668c;hp=f240e452b688dc03834eeb393a0249754363b27b;hpb=3f6726e1f112d221bd2a919e9b1b2927aeef6150;p=git.git diff --git a/Makefile b/Makefile index f240e452..648469e6 100644 --- a/Makefile +++ b/Makefile @@ -67,7 +67,7 @@ all: # change being considered an inode change from the update-cache perspective. GIT-VERSION-FILE: .FORCE-GIT-VERSION-FILE - @$(SHELL) ./GIT-VERSION-GEN + @$(SHELL_PATH) ./GIT-VERSION-GEN -include GIT-VERSION-FILE # CFLAGS and LDFLAGS are for the users to override from the command line. @@ -419,6 +419,7 @@ $(patsubst %.sh,%,$(SCRIPT_SH)) : % : %.sh rm -f $@ sed -e '1s|#!.*/sh|#!$(call shq,$(SHELL_PATH))|' \ -e 's/@@GIT_VERSION@@/$(GIT_VERSION)/g' \ + -e 's/@@NO_CURL@@/$(NO_CURL)/g' \ $@.sh >$@ chmod +x $@