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
That's the way, (aha aha) I like it (aha aha) !
[simgrid.git]
/
tools
/
compile-remote-worker.in
diff --git
a/tools/compile-remote-worker.in
b/tools/compile-remote-worker.in
index
dbf3525
..
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"
@@
-131,7
+138,12
@@
if echo $@ | grep check >/dev/null ; then
do_cmd "make $MAKE_CHECK 2>&1" || fail "Cannot make check"
fi
do_cmd "make $MAKE_CHECK 2>&1" || fail "Cannot make check"
fi
+echo Remote compilation sucessful.
+echo
+echo
+echo CONFIG-LOG-DUMP-BEGIN
cat config.log
cat config.log
+echo CONFIG-LOG-DUMP-END
echo
echo
echo Remote compilation sucessful.
echo
echo
echo Remote compilation sucessful.