Java guidelines: ant specfile template bug

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,


there's something wrong with
 find -name '*.jar' -o -name '*.class' -exec rm -f '{}' \;
in
 http://fedoraproject.org/wiki/PackagingDrafts/Java#ant_2
since it doesn't remove .jar files.

 find \( -name '*.jar' -o -name '*.class' \) -exec rm -f '{}' \;
removes them correctly.

Could someone change the command to the working version?
-- 
Jussi Lehtola
Fedora Project Contributor
jussilehtola@xxxxxxxxxxxxxxxxx

--
Fedora-packaging mailing list
Fedora-packaging@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-packaging

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux