Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 231956 - java-ant-2.eclass: java-ant_bsfix has bad find arguments
Summary: java-ant-2.eclass: java-ant_bsfix has bad find arguments
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-16 11:56 UTC by James Le Cuirot
Modified: 2015-01-23 22:49 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
java-ant-2.eclass.patch (patch,462 bytes, patch)
2008-07-16 11:56 UTC, James Le Cuirot
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description James Le Cuirot gentoo-dev 2008-07-16 11:56:09 UTC
When using JAVA_PKG_BSFIX_NAME with multiple filenames, you need brackets around the or'd -name conditions, otherwise it could match directories as well as files. Unlikely but hey. Patch attached.
Comment 1 James Le Cuirot gentoo-dev 2008-07-16 11:56:37 UTC
Created attachment 160545 [details, diff]
java-ant-2.eclass.patch
Comment 2 Patrice Clement gentoo-dev 2015-01-22 23:07:40 UTC
This patch is legit. I think we should include it in java-ant-2.eclass. @Java: Can I go ahead?
Comment 3 Patrice Clement gentoo-dev 2015-01-23 22:49:00 UTC
There you go:

+  23 Jan 2015; Patrice Clement <monsieurp@gentoo.org> java-ant-2.eclass:
+  Sanitise find arguments when using JAVA_PKG_BSFIX_NAME option. Fix #231956.
+

Thanks James.