summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJohannes Schindelin <johannes.schindelin@gmx.de>2009-05-23 08:04:48 (GMT)
committerJunio C Hamano <gitster@pobox.com>2009-05-23 08:54:45 (GMT)
commit352c81114ca436b9e06255f24bf8a7d2fd0a4029 (patch)
tree4cc5a9aaad42d8269d1bcae48f655d510f95ada1 /Makefile
parentbedc4279a833dc7f17ea7d1730d9f3e4ff018729 (diff)
downloadgit-352c81114ca436b9e06255f24bf8a7d2fd0a4029.zip
git-352c81114ca436b9e06255f24bf8a7d2fd0a4029.tar.gz
git-352c81114ca436b9e06255f24bf8a7d2fd0a4029.tar.bz2
MinGW: the path separator to split GITPERLLIB is ';' on Win32
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Steffen Prohaska <prohaska@zib.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index fdb39fa..eaae45d 100644
--- a/Makefile
+++ b/Makefile
@@ -228,6 +228,7 @@ ETC_GITCONFIG = etc/gitconfig
endif
lib = lib
# DESTDIR=
+pathsep = :
# default configuration for gitweb
GITWEB_CONFIG = gitweb_config.perl
@@ -816,6 +817,7 @@ ifneq (,$(findstring CYGWIN,$(uname_S)))
UNRELIABLE_FSTAT = UnfortunatelyYes
endif
ifneq (,$(findstring MINGW,$(uname_S)))
+ pathsep = ;
NO_PREAD = YesPlease
NO_OPENSSL = YesPlease
NO_CURL = YesPlease
@@ -1270,7 +1272,7 @@ $(patsubst %.perl,%,$(SCRIPT_PERL)): % : %.perl
sed -e '1{' \
-e ' s|#!.*perl|#!$(PERL_PATH_SQ)|' \
-e ' h' \
- -e ' s=.*=use lib (split(/:/, $$ENV{GITPERLLIB} || "@@INSTLIBDIR@@"));=' \
+ -e ' s=.*=use lib (split(/$(pathsep)/, $$ENV{GITPERLLIB} || "@@INSTLIBDIR@@"));=' \
-e ' H' \
-e ' x' \
-e '}' \