git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [JGIT PATCH] Repair make_jgit.sh to work in MSYS environment
@ 2009-07-09 21:26 Christian Halstrick
  0 siblings, 0 replies; only message in thread
From: Christian Halstrick @ 2009-07-09 21:26 UTC (permalink / raw)
  To: Shawn O. Pearce, Robin Rosenberg; +Cc: git

From: Christian Halstrick <christian.halstrick@sap.com>

My MSYS installation sets the environment variable MSYSTEM to
"MINGW32" which was not handled in make_jgit.sh. Corrected that.
Also Suns Windows javac doesn't like classpathes with
/<driveletter/<dir>. When using `pwd -W` i get pathes accepted
by windows javac.

Signed-off-by: Christian Halstrick <christian.halstrick@sap.com>
---
 make_jgit.sh |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/make_jgit.sh b/make_jgit.sh
index 027a074..baaa3af 100755
--- a/make_jgit.sh
+++ b/make_jgit.sh
@@ -22,9 +22,10 @@ then
 	R=`cygpath -m $R`
 	PSEP=";"
 fi
-if [ "$MSYSTEM" = "MINGW" ]
+if [ "$MSYSTEM" = "MINGW" -o "$MSYSTEM" = "MINGW32" ]
 then
 	PSEP=";"
+	R=`pwd -W`
 fi
 
 if [ -n "$JAVA_HOME" ]
-- 
1.6.3.2.1299.gee46c

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2009-07-09 21:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-09 21:26 [JGIT PATCH] Repair make_jgit.sh to work in MSYS environment Christian Halstrick

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).