From: Arnaud Giersch Date: Tue, 4 Dec 2012 12:05:30 +0000 (+0100) Subject: Avoid to add an empty component into LD_LIBRARY_PATH if it was not set before. X-Git-Tag: v3_9_90~569^2~19^2~9^2~11 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/023ba62ad77dcc3714288ca23364af119cdc9735 Avoid to add an empty component into LD_LIBRARY_PATH if it was not set before. --- diff --git a/doc/install.doc b/doc/install.doc index 668f0ca92d..51459e03ad 100644 --- a/doc/install.doc +++ b/doc/install.doc @@ -55,7 +55,7 @@ LD_LIBRARY_PATH. \verbatim $ export SIMGRID_ROOT="$HOME/Install/simgrid/" # change it to the path where you installed the SimGrid library $ export SIMGRID_JAVA_ROOT="$HOME/Install/simgrid-java" # change it to the path where you installed the java bindings of SimGrid -$ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$SIMGRID_ROOT/lib:$SIMGRID_JAVA_ROOT/java +$ export LD_LIBRARY_PATH=${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}$SIMGRID_ROOT/lib:$SIMGRID_JAVA_ROOT/java $ cd examples $ java -cp .:../simgrid.jar basic/BasicTest platform.xml basic/basicDeployment.xml \endverbatim