@matheusbsbs / matheus-bagliano / commits / 352c81114c
Fork 0

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>

Johannes Schindelin committed May 23, 2009 at 10:04 UTC 352c81114ca436b9e06255f24bf8a7d2fd0a4029
1 file changed +3 -1
Makefile
+3 -1
@@ -228,6 +228,7 @@ ETC_GITCONFIG = etc/gitconfig
228 endif
229 lib = lib
230 # DESTDIR=
231 +pathsep = :
232
233 # default configuration for gitweb
234 GITWEB_CONFIG = gitweb_config.perl
@@ -816,6 +817,7 @@ ifneq (,$(findstring CYGWIN,$(uname_S)))
817 UNRELIABLE_FSTAT = UnfortunatelyYes
818 endif
819 ifneq (,$(findstring MINGW,$(uname_S)))
820 + pathsep = ;
821 NO_PREAD = YesPlease
822 NO_OPENSSL = YesPlease
823 NO_CURL = YesPlease
@@ -1270,7 +1272,7 @@ $(patsubst %.perl,%,$(SCRIPT_PERL)): % : %.perl
1272 sed -e '1{' \
1273 -e ' s|#!.*perl|#!$(PERL_PATH_SQ)|' \
1274 -e ' h' \
1273 - -e ' s=.*=use lib (split(/:/, $$ENV{GITPERLLIB} || "@@INSTLIBDIR@@"));=' \
1275 + -e ' s=.*=use lib (split(/$(pathsep)/, $$ENV{GITPERLLIB} || "@@INSTLIBDIR@@"));=' \
1276 -e ' H' \
1277 -e ' x' \
1278 -e '}' \