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
SURF does not use long doubles. Reverting MSG to doubles.
[simgrid.git]
/
tools
/
compile-remote-worker.in
diff --git
a/tools/compile-remote-worker.in
b/tools/compile-remote-worker.in
index
10b8af1
..
ef2a8f9
100644
(file)
--- a/
tools/compile-remote-worker.in
+++ b/
tools/compile-remote-worker.in
@@
-8,6
+8,13
@@
# Where to install the stuff into (REMOTE_PREFIX gets fixed by the makefile)
PREFIX=$REMOTE_PREFIX
# Where to install the stuff into (REMOTE_PREFIX gets fixed by the makefile)
PREFIX=$REMOTE_PREFIX
+if echo $PREFIX | egrep '^/' > /dev/null ; then
+ echo "Prefix is an absolute path. Good, it makes configure happy"
+else
+ echo "Change prefix to an absolute path to keep configure happy"
+ PREFIX="$HOME/$PREFIX"
+fi
+echo "(PREFIX=$PREFIX)"
# Where extra libraries are installed (if any)
LD_LIBRARY_PATH="$PREFIX/lib"
# Where extra libraries are installed (if any)
LD_LIBRARY_PATH="$PREFIX/lib"