diff options
author | Fernando J. Pereda <ferdy@gentoo.org> | 2006-02-15 12:37:30 +0100 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-02-15 19:14:01 -0800 |
commit | 6c5c62f3401dc8f4b567af46582c112f6a859b5e (patch) | |
tree | 98e407bebd7846c21f53e2688d44220b4e708d11 /Makefile | |
parent | 504fe714fe642b375992bb913075bee0d0bc1bbd (diff) | |
download | git-6c5c62f3401dc8f4b567af46582c112f6a859b5e.tar.gz |
Print an error if cloning a http repo and NO_CURL is set
If Git is compiled with NO_CURL=YesPlease and one tries to
clone a http repository, git-clone tries to call the curl
binary. This trivial patch prints an error instead in such
situation.
Signed-off-by: Fernando J. Pereda <ferdy@gentoo.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 $@ |