summaryrefslogtreecommitdiff
path: root/release.sh
diff options
context:
space:
mode:
authorGintas Grigelionis <gintas@apache.org>2017-12-24 09:15:30 +0100
committerGintas Grigelionis <gintas@apache.org>2017-12-24 09:17:05 +0100
commit71d19609ab8600e2145ef1421b4100b75a57ed9c (patch)
treeadd4ce164b95615e75e312a18e169827b69cff85 /release.sh
parent44c81c6272dd974f16a3bd2e2814dee1dad1a011 (diff)
downloadant-71d19609ab8600e2145ef1421b4100b75a57ed9c.tar.gz
more script adjustments
Diffstat (limited to 'release.sh')
-rwxr-xr-xrelease.sh22
1 files changed, 10 insertions, 12 deletions
diff --git a/release.sh b/release.sh
index 249ccb9fd..d1043d561 100755
--- a/release.sh
+++ b/release.sh
@@ -20,24 +20,24 @@
rm -rf bootstrap build dist distribution java-repository
unset ANT_HOME
# OS specific support. $var _must_ be set to either true or false.
-cygwin=false;
-darwin=false;
-mingw=false;
-linux=false;
+cygwin=false
+darwin=false
+mingw=false
+linux=false
case "`uname`" in
- CYGWIN*) cygwin=true ;;
+ CYGWIN*) cygwin=true;;
Darwin*) darwin=true;;
- MINGW*) mingw=true ;;
- Linux) linux=true ;;
+ MINGW*) mingw=true;;
+ Linux) linux=true;;
esac
-if $cygwin ; then
+if $cygwin; then
export JAVA_HOME="/cygdrive/c/Program Files/Java/jdk1.5.0_22"
JDK_VERSION=1.5
fi
if $darwin; then
export JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Home
JDK_VERSION=1.6
-fi
+fi
if $linux; then
export JAVA_HOME=/usr/lib/jvm/java-6-openjdk
JDK_VERSION=1.6
@@ -50,8 +50,6 @@ echo ANT_HOME=$ANT_HOME
echo JAVA_HOME=$JAVA_HOME
which java
echo running build under JDK $JDK_VERSION
-./build.sh dist-lite
+./build.sh dist-lite
echo running the tests and doing the distribution
dist/bin/ant -nouserlib -lib lib/optional run-tests distribution
-
-