From: Martin Quinson Date: Mon, 26 Dec 2016 09:59:26 +0000 (+0100) Subject: smpirun: don't use the ARGS variable, that may be used by others X-Git-Tag: v3_14_159~8 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/fe50e1016c5a073e5970fed9b4194203b8eaebc1 smpirun: don't use the ARGS variable, that may be used by others --- diff --git a/src/smpi/smpirun.in b/src/smpi/smpirun.in index 10678ea883..569de688c0 100755 --- a/src/smpi/smpirun.in +++ b/src/smpi/smpirun.in @@ -414,7 +414,7 @@ set -- $hostnames ##---- generate tags------------------------------ #prepare arguments at once for ARG in $PROC_ARGS; do - ARGS="$ARGS"" + XML_ARGS="${XML_ARGS}"" " done @@ -438,7 +438,7 @@ do echo " " >> ${APPLICATIONTMP} fi else - echo ${ARGS} >> ${APPLICATIONTMP} + echo ${XML_ARGS} >> ${APPLICATIONTMP} fi echo " " >> ${APPLICATIONTMP} done