From 25289c4c4c48dd19682e3bc624cea19f1e8b0c71 Mon Sep 17 00:00:00 2001 From: pawelz Date: Mon, 3 May 2010 13:57:22 +0000 Subject: [PATCH] - silly workaround for ant script stupidity Changed files: ant-yuicompressor.spec -> 1.6 --- ant-yuicompressor.spec | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/ant-yuicompressor.spec b/ant-yuicompressor.spec index 9222fdf..22cb71b 100644 --- a/ant-yuicompressor.spec +++ b/ant-yuicompressor.spec @@ -72,7 +72,17 @@ Kod źródłowy %{name}. mv n0ha-*/* . %undos build.xml doc/example/build.xml -echo "ant/ant-yuicompressor yuicompressor" > ant.conf +# name of second jar can not be substring of first jar. This part of code is +# from /usr/bin/jar: +# for dep in `cat "$file"`; do +# case "$OPT_JAR_LIST" in +# *"$dep"*) ;; +# *) OPT_JAR_LIST="$OPT_JAR_LIST${OPT_JAR_LIST:+ }$dep" +# esac +# done +# so if second name is contained in first it will be skipped. +echo "yuicompressor ant/ant-yuicompressor" > ant.conf + echo >> doc/CHANGELOG echo >> doc/LICENSE -- 2.44.0