Browse Source

use -x instead of -f

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@463485 13f79535-47bb-0310-9956-ffa450edef68
master
Peter Reilly 19 years ago
parent
commit
eb35cf8fdf
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/script/ant

+ 2
- 2
src/script/ant View File

@@ -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


Loading…
Cancel
Save