]> git.pld-linux.org Git - packages/ant-yuicompressor.git/commitdiff
- silly workaround for ant script stupidity
authorpawelz <pawelz@pld-linux.org>
Mon, 3 May 2010 13:57:22 +0000 (13:57 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    ant-yuicompressor.spec -> 1.6

ant-yuicompressor.spec

index 9222fdfc4183b30b2357247ac4c668d0d14db8e5..22cb71bc068ff8b383561b4d6f0647690c9097ef 100644 (file)
@@ -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
 
This page took 0.09266 seconds and 4 git commands to generate.