X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/347c4fc806f4d7ce53af4aa084ca41c85a5a60d0..2995193b7e30d03c04917852c4c0b26d26646273:/tools/compile-remote-worker.in diff --git a/tools/compile-remote-worker.in b/tools/compile-remote-worker.in index 10b8af1eaa..ef2a8f94f1 100644 --- 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 +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"