git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP_0-20-0_Alt-Design@195547 13f79535-47bb-0310-9956-ffa450edef68tags/Alt-Design_pre_src-java-org
@@ -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 "$@" |