Browse Source

#52556: removed buggy duplicate JAR list in RPM mode.

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1238725 13f79535-47bb-0310-9956-ffa450edef68
master
Jesse N. Glick 13 years ago
parent
commit
f07f1dd87d
2 changed files with 4 additions and 4 deletions
  1. +3
    -0
      WHATSNEW
  2. +1
    -4
      src/script/ant

+ 3
- 0
WHATSNEW View File

@@ -13,6 +13,9 @@ Changes that could break older environments:
Fixed bugs:
-----------

* Removed buggy duplicate JAR list in RPM mode.
Bugzilla Report 52556.

* Launcher fixed to pass the right class loader parent.
Bugzilla Report 48633.



+ 1
- 4
src/script/ant View File

@@ -176,10 +176,7 @@ if $rpm_mode && [ -x /usr/bin/build-classpath ] ; then
*.rpmnew) ;;
*)
for dep in `cat "$file"`; do
case "$OPT_JAR_LIST" in
*"$dep"*) ;;
*) OPT_JAR_LIST="$OPT_JAR_LIST${OPT_JAR_LIST:+ }$dep"
esac
OPT_JAR_LIST="$OPT_JAR_LIST${OPT_JAR_LIST:+ }$dep"
done
esac
fi


Loading…
Cancel
Save