Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/xsl/upVersionParents.sh')
-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