From f07f1dd87dd87951de02f2269a3fa56fadd7a81e Mon Sep 17 00:00:00 2001 From: "Jesse N. Glick" Date: Tue, 31 Jan 2012 18:11:36 +0000 Subject: [PATCH] #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 --- WHATSNEW | 3 +++ src/script/ant | 5 +---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/WHATSNEW b/WHATSNEW index f17767af7..cff8edbf5 100644 --- a/WHATSNEW +++ b/WHATSNEW @@ -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. diff --git a/src/script/ant b/src/script/ant index 0dc84e045..11c1b598c 100644 --- a/src/script/ant +++ b/src/script/ant @@ -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