fixed script.
authorGengbin Zheng <gzheng@illinois.edu>
Wed, 16 Jan 2008 22:17:17 +0000 (22:17 +0000)
committerGengbin Zheng <gzheng@illinois.edu>
Wed, 16 Jan 2008 22:17:17 +0000 (22:17 +0000)
src/arch/multicore/charmrun

index d65fef40e55f94eee2f6d96ba6408596777a4e7f..98bd0e0b793b53bb20f962ce598e31c839e50b18 100755 (executable)
@@ -4,11 +4,13 @@ args=""
 while [ $# -gt 0 ]
 do
         case $1 in
-       +p)     shift;
+       +p|+ppn)     args=$args" "$1" "$2
+                shift;
                shift
                ;;
-       +p*)    shift
-               ;;
+        ++ppn)  echo please use +ppn instead of ++ppn
+                exit 1
+                ;;
         +*)
                 args=$args" "$1
                 shift