summaryrefslogtreecommitdiffstats
path: root/lib/bin
diff options
context:
space:
mode:
author(no author) <(no author)@unknown>2002-07-05 16:44:10 +0000
committer(no author) <(no author)@unknown>2002-07-05 16:44:10 +0000
commit46e7dde597ddd52ae304fdf83b3b68c32afa3286 (patch)
tree46a778f3b6f8f04424767a199467c9caf216cd5c /lib/bin
parentbea520e06587303175f812eeaedc315d3417e393 (diff)
downloadxmlgraphics-fop-fop-0_20_4.tar.gz
xmlgraphics-fop-fop-0_20_4.zip
This commit was manufactured by cvs2svn to create tag 'fop-0_20_4'.fop-0_20_4
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/tags/fop-0_20_4@194977 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'lib/bin')
-rwxr-xr-xlib/bin/antRun12
1 files changed, 4 insertions, 8 deletions
diff --git a/lib/bin/antRun b/lib/bin/antRun
index 47f1b228a..f0a18f165 100755
--- a/lib/bin/antRun
+++ b/lib/bin/antRun
@@ -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 "$@"