From 929d471aa81d4e5092080710a8aefbbeaabf7d93 Mon Sep 17 00:00:00 2001 From: kytv Date: Sun, 11 Dec 2011 12:52:32 +0000 Subject: [PATCH] uname -s is sufficient The OS' release version is discarded anyway....so we won't ask for it. --- core/c/jbigi/mbuild-all.sh | 2 +- core/c/jbigi/mbuild_jbigi.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/c/jbigi/mbuild-all.sh b/core/c/jbigi/mbuild-all.sh index 9cbe488a5..c257278ca 100755 --- a/core/c/jbigi/mbuild-all.sh +++ b/core/c/jbigi/mbuild-all.sh @@ -76,7 +76,7 @@ if [ "$VER" = "" ] ; then fi -case `uname -sr` in +case `uname -s` in MINGW*) PLATFORM_LIST="${MINGW_PLATFORMS}" NAME="jbigi" diff --git a/core/c/jbigi/mbuild_jbigi.sh b/core/c/jbigi/mbuild_jbigi.sh index fbdd37ebb..545128aeb 100755 --- a/core/c/jbigi/mbuild_jbigi.sh +++ b/core/c/jbigi/mbuild_jbigi.sh @@ -4,7 +4,7 @@ # When executed in OSX: Produces a libjbigi.jnilib CC="gcc" -case `uname -sr` in +case `uname -s` in MINGW*) JAVA_HOME="c:/software/j2sdk1.4.2_05" COMPILEFLAGS="-Wall"