Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
"new ruby host method"
[simgrid.git] / src / smpi / smpirun.in
index ce3b1c5..49ea4e1 100755 (executable)
@@ -64,7 +64,10 @@ while true; do
    ;;
    
    "--cfg="*|"--log="*)
-     SIMOPTS="$SIMOPTS $1"
+     for OPT in ${1#*=}
+     do
+       SIMOPTS="$SIMOPTS ${1%%=*}=$OPT"
+     done 
      shift 1
    ;;
     *)