Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
cleanups
[simgrid.git] / src / smpi / smpirun.in
index 6805ebd..49ea4e1 100755 (executable)
@@ -63,8 +63,11 @@ while true; do
       exit
    ;;
    
-   "--cfg="*|"--log="*|"--network_model="*)
-     SIMOPTS="$SIMOPTS '$1'"
+   "--cfg="*|"--log="*)
+     for OPT in ${1#*=}
+     do
+       SIMOPTS="$SIMOPTS ${1%%=*}=$OPT"
+     done 
      shift 1
    ;;
     *)