]> AND Public Git Repository - simgrid.git/blobdiff - src/smpi/smpiff.in
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Factorize keyval handling for Comm and Datatype (Win to follow)
[simgrid.git] / src / smpi / smpiff.in
index c63b5240fb5cda352d85059a1e7646cf278dfba9..7ab94130a34587ee59fd7b6ded53f6f3b7bb19de 100644 (file)
@@ -81,7 +81,8 @@ while [ $# -gt 0 ]; do
             ;;
         -o)
             NEEDS_OUTPUT=0
-            list_add CMDLINE "-o"   
+            list_add CMDLINE "-o$1"
+            shift
             ;;        
         *)
             list_add CMDLINE "${ARG}"