ant/ant-classpath-check.patch
2012-02-07 17:39:39 +01:00

20 lines
672 B
Diff

diff --git a/src/script/.ant.swp b/src/script/.ant.swp
index 7962473..b214d30 100644
Binary files a/src/script/.ant.swp and b/src/script/.ant.swp differ
diff --git a/src/script/ant b/src/script/ant
index 0dc84e0..11c1b59 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