X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/221538a27f21e52c182ae7fcc08c78c1175395b9..47c08390d2f3cee84c293760341ac34e86c5de94:/src/smpi/smpirun.in diff --git a/src/smpi/smpirun.in b/src/smpi/smpirun.in index 2ef275777a..ef6b063108 100755 --- a/src/smpi/smpirun.in +++ b/src/smpi/smpirun.in @@ -224,7 +224,7 @@ if [ -n "${HOSTFILE}" ] && [ -f ${HOSTFILE} ]; then NUMHOSTS=`cat ${HOSTFILE} | wc -l` fi -if [ ${EXEC} = "./smpi_replay" ]; then +if [ "${EXEC}" = "./smpi_replay" ]; then APP_TRACES=$1; if [ -n "${APP_TRACES}" ] && [ -f ${APP_TRACES} ]; then hosttraces=(`cat ${APP_TRACES} | tr \\\n " "`) @@ -270,7 +270,7 @@ do fi echo " " >> ${APPLICATIONTMP} echo " " >> ${APPLICATIONTMP} - if [ ${EXEC} = "./smpi_replay" ]; then + if [ "${EXEC}" = "./smpi_replay" ]; then if [ ${NUMTRACES} -gt 1 ]; then echo " " >> ${APPLICATIONTMP} else