A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Try to help the cmake of oldstable to find the java stuff we need
[simgrid.git]
/
tools
/
jenkins
/
build.sh
diff --git
a/tools/jenkins/build.sh
b/tools/jenkins/build.sh
index
63bb583
..
acbb39c
100755
(executable)
--- a/
tools/jenkins/build.sh
+++ b/
tools/jenkins/build.sh
@@
-11,6
+11,12
@@
set -e
rm -rf /tmp/simgrid*tmp
rm -rf /tmp/surf-java*tmp
+# Help older cmakes
+if [ -e /usr/lib/jvm/java-7-openjdk-amd64 ] ;
+then
+ export JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64
+fi
+
# usage: die status message...
die () {
local status=${1:-1}