From 40d3aa9d4cdd0233180b5cd283aedbce6ef9483f Mon Sep 17 00:00:00 2001 From: kytv Date: Tue, 27 Sep 2011 08:34:53 +0000 Subject: [PATCH] Don't call uname -sr, instead call "uname -s". After all, we don't use the kernel version... --- core/c/jcpuid/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/c/jcpuid/build.sh b/core/c/jcpuid/build.sh index 77c262a4a..8d3f846c9 100755 --- a/core/c/jcpuid/build.sh +++ b/core/c/jcpuid/build.sh @@ -2,7 +2,7 @@ cd `dirname $0` -case `uname -sr` in +case `uname -s` in MINGW*|CYGWIN*) echo "Building windows .dlls";; SunOS*) @@ -21,7 +21,7 @@ mkdir -p lib/freenet/support/CPUInformation CC="gcc" -case `uname -sr` in +case `uname -s` in MINGW*|CYGWIN*) JAVA_HOME="/c/software/j2sdk1.4.2_05" COMPILEFLAGS="-Wall"