Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
"new ruby host method"
[simgrid.git] / src / smpi / smpirun.in
index cad450d..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
    ;;
     *)