Skip to content

Commit 744a92c

Browse files
committed
script/aot_core tweak for Hudson
1 parent 2c9c100 commit 744a92c

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

script/aot_core

+9-1
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,13 @@ mvn -f pom.template.xml dependency:build-classpath -Dmdep.outputFile=$CP_FILE
88

99
CLJS_CP=`cat $CP_FILE`
1010

11-
java -server -cp "$CLJS_CP:src/clj:src/cljs" clojure.main script/aot.clj
11+
# For Hudson server
12+
if [ "$HUDSON" = "true" ]; then
13+
$JAVA_HOME/bin/java -server -cp "$CLJS_CP:src/clj:src/cljs" clojure.main script/aot.clj
14+
else
15+
java -server -cp "$CLJS_CP:src/clj:src/cljs" clojure.main script/aot.clj
16+
fi
17+
18+
19+
1220

0 commit comments

Comments
 (0)