summaryrefslogtreecommitdiff
path: root/src/script
diff options
context:
space:
mode:
authorPeter Reilly <peterreilly@apache.org>2006-10-12 22:52:58 +0000
committerPeter Reilly <peterreilly@apache.org>2006-10-12 22:52:58 +0000
commiteb35cf8fdf62e53bc4b8f1984f88ccb000cd7041 (patch)
tree418bf7999b04ab21851fb2a742b22fd1934fd731 /src/script
parentc7e4024d63f27b2fd647075fa534a63eb0053b8e (diff)
downloadant-eb35cf8fdf62e53bc4b8f1984f88ccb000cd7041.tar.gz
use -x instead of -f
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@463485 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/script')
-rw-r--r--src/script/ant4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/script/ant b/src/script/ant
index 46d054746..df3823c80 100644
--- a/src/script/ant
+++ b/src/script/ant
@@ -147,11 +147,11 @@ fi
# Build local classpath using just the launcher in non-rpm mode or
# use the Jpackage helper in rpm mode with basic and default jars
# specified in the ant.conf configuration. Because the launcher is
-# used, libraries linked in ANT_HOME will also be include, but this
+# used, libraries linked in ANT_HOME/lib will also be included, but this
# is discouraged as it is not java-version safe. A user should
# request optional jars and their dependencies via the OPT_JAR_LIST
# variable
-if $rpm_mode && [ -f /usr/bin/build-classpath ] ; then
+if $rpm_mode && [ -x /usr/bin/build-classpath ] ; then
LOCALCLASSPATH="$(/usr/bin/build-classpath ant ant-launcher jaxp_parser_impl xml-commons-apis)"
# If no optional jars have been specified then build the default list