mirror of https://github.com/apache/maven.git
set a default path to java, for cron
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164002 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
40fbb1698d
commit
125430b2f6
|
@ -27,4 +27,7 @@ if [ "$1" == "profile" ]; then
|
|||
shift
|
||||
fi
|
||||
|
||||
nice -n 19 java -Xmx128M -Xms64M -Xincgc $JAVA_OPTS -classpath ${CP} org.apache.maven.tools.repoclean.Main $* | tee repoclean-log.txt
|
||||
if [ -z "$JAVA_HOME" ]; then
|
||||
JAVA_HOME=/usr/local/java
|
||||
|
||||
nice -n 19 $JAVA_HOME/bin/java -Xmx128M -Xms64M -Xincgc $JAVA_OPTS -classpath ${CP} org.apache.maven.tools.repoclean.Main $* | tee repoclean-log.txt
|
||||
|
|
Loading…
Reference in New Issue