pbwest 2002/11/17 06:56:39 Modified: lib/bin Tag: FOP_0-20-0_Alt-Design antRun Log: Update to maint level. Revision Changes Path No revision No revision 1.2.10.1 +4 -8 xml-fop/lib/bin/antRun Index: antRun =================================================================== RCS file: /home/cvs/xml-fop/lib/bin/antRun,v retrieving revision 1.2 retrieving revision 1.2.10.1 diff -u -r1.2 -r1.2.10.1 --- antRun 9 Aug 2000 19:04:49 -0000 1.2 +++ antRun 17 Nov 2002 14:56:39 -0000 1.2.10.1 @@ -1,13 +1,9 @@ #! /bin/sh -#This file should be executable. -Steve + # Args: DIR command -cd $1 -CMD=$2 +cd "$1" +CMD="$2" shift shift -if test -f $CMD.sh; then - CMD="sh $CMD.sh" -fi - -echo $CMD $@ | sh +exec $CMD "$@"
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]