head	1.2;
access;
symbols
	charm6_1:1.2
	charm_6_0_1:1.2
	charm6_0_1:1.2
	charm6_0:1.1;
locks; strict;
comment	@# @;


1.2
date	2008.01.16.22.17.17;	author gzheng;	state Exp;
branches;
next	1.1;
commitid	xFvfKSYeGMBnNGNs;

1.1
date	2007.07.06.15.15.33;	author gzheng;	state Exp;
branches;
next	;
commitid	7d2e468e5c8e4567;


desc
@@


1.2
log
@fixed script.
@
text
@
args=""

while [ $# -gt 0 ]
do
        case $1 in
	+p|+ppn)     args=$args" "$1" "$2
                shift;
		shift
		;;
        ++ppn)  echo please use +ppn instead of ++ppn
                exit 1
                ;;
        +*)
                args=$args" "$1
                shift
                ;;
        *)
		break;
		;;
	esac
done

echo Running command: $* $args
echo

exec $* $args
@


1.1
log
@added a dummy charmrun.
@
text
@d7 2
a8 1
	+p)     shift;
d11 3
a13 2
	+p*)	shift
		;;
@

