X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/394a9cd893e93ee04bf4a8f6ff4ad5a8697a0e82..349f41400e5b647fe8b5825a8e6339ad7ebec3b4:/src/smpi/smpirun.in diff --git a/src/smpi/smpirun.in b/src/smpi/smpirun.in index e1ea7e88db..49ea4e1bb3 100755 --- a/src/smpi/smpirun.in +++ b/src/smpi/smpirun.in @@ -64,7 +64,10 @@ while true; do ;; "--cfg="*|"--log="*) - SIMOPTS="$SIMOPTS '$1'" + for OPT in ${1#*=} + do + SIMOPTS="$SIMOPTS ${1%%=*}=$OPT" + done shift 1 ;; *)