All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christian Halstrick <christian.halstrick@gmail.com>
To: "Shawn O. Pearce" <spearce@spearce.org>,
	Robin Rosenberg <robin.rosenberg@dewire.com>
Cc: git@vger.kernel.org
Subject: [JGIT PATCH] Repair make_jgit.sh to work in MSYS environment
Date: Thu, 9 Jul 2009 23:26:36 +0200	[thread overview]
Message-ID: <20090709232636.00003106@unknown> (raw)

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

                 reply	other threads:[~2009-07-09 21:26 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090709232636.00003106@unknown \
    --to=christian.halstrick@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=robin.rosenberg@dewire.com \
    --cc=spearce@spearce.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.