git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[JGIT PATCH] Repair make_jgit.sh to work in MSYS environment

From
Christian Halstrick <christian.halstrick@gmail.com>
Date
Jul 9, 2009, 21:26 UTC
Message-ID
<20090709232636.00003106@unknown>
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
Message 1 of 1 in “Repair make_jgit.sh to work in MSYS environment”
  1. Repair make_jgit.sh to work in MSYS environmentChristian Halstrick, Jul 9, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.