Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Williams2015-03-14 22:46:08 -0400
committerDavid Williams2015-03-14 22:46:08 -0400
commit8bd3a4f1a328ea863e7f598493960791a763dafc (patch)
tree532e8e72a786a9f19961bcd04f04ba5edbf088a7 /scripts
parent015923f845888a407c4f0aeb4a4decf8cf27270d (diff)
downloadeclipse.platform.releng.aggregator-8bd3a4f1a328ea863e7f598493960791a763dafc.tar.gz
eclipse.platform.releng.aggregator-8bd3a4f1a328ea863e7f598493960791a763dafc.tar.xz
eclipse.platform.releng.aggregator-8bd3a4f1a328ea863e7f598493960791a763dafc.zip
[releng] routine prep and cleanup to switch to Tycho snapshot.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/xsl/upVersionParents.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/xsl/upVersionParents.sh b/scripts/xsl/upVersionParents.sh
index d2056d46..a1473dfa 100755
--- a/scripts/xsl/upVersionParents.sh
+++ b/scripts/xsl/upVersionParents.sh
@@ -7,12 +7,12 @@ LOG=$(pwd)/log_$( date +%Y%m%d%H%M%S ).txt
exec >>$LOG 2>&1
LREPO=$(pwd)/../localMavenRepo
-export JAVA_HOME=/opt/local/jdk1.7.0-latest
-TMP_DIR=$(pwd)/../tmp
+export JAVA_HOME=${JAVA_HOME:-/shared/common/jdk1.7.0-latest}
+TMP_DIR=${TMP_DIR:-$(pwd)/../tmp}
mkdir -p $TMP_DIR
-export MAVEN_OPTS="-Xmx2560m -XX:MaxPermSize=256M -Djava.io.tmpdir=${TMP_DIR}"
-export MAVEN_PATH=/opt/local/apache-maven-3.1.1/bin
-export PATH=$JAVA_HOME/bin:$MAVEN_PATH:$PATH
+export MAVEN_OPTS=${MAVEN_OPTS:-"-Xmx2560m -XX:MaxPermSize=256M -Djava.io.tmpdir=${TMP_DIR}"}
+export MAVEN_PATH=${MAVEN_PATH:-/opt/local/apache-maven-3.1.1/bin}
+export PATH=${JAVA_HOME}/bin:${MAVEN_PATH}:${PATH}
DIR=$( dirname $0 )
NEW_VER=4.4.0-SNAPSHOT

Back to the top