added a dummy charmrun.
authorGengbin Zheng <gzheng@illinois.edu>
Fri, 6 Jul 2007 15:15:33 +0000 (15:15 +0000)
committerGengbin Zheng <gzheng@illinois.edu>
Fri, 6 Jul 2007 15:15:33 +0000 (15:15 +0000)
src/arch/multicore/charmrun [new file with mode: 0755]

diff --git a/src/arch/multicore/charmrun b/src/arch/multicore/charmrun
new file mode 100755 (executable)
index 0000000..d65fef4
--- /dev/null
@@ -0,0 +1,25 @@
+
+args=""
+
+while [ $# -gt 0 ]
+do
+        case $1 in
+       +p)     shift;
+               shift
+               ;;
+       +p*)    shift
+               ;;
+        +*)
+                args=$args" "$1
+                shift
+                ;;
+        *)
+               break;
+               ;;
+       esac
+done
+
+echo Running command: $* $args
+echo
+
+exec $* $args