eclass/java-utils-2: Allows a list of directories to be specified.
authorPatrice Clement <monsieurp@gentoo.org>
Tue, 29 Sep 2015 20:53:09 +0000 (20:53 +0000)
committerPatrice Clement <monsieurp@gentoo.org>
Tue, 29 Sep 2015 20:54:16 +0000 (20:54 +0000)
Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
eclass/java-utils-2.eclass

index a86ed8039d39a14f507437969000013433357387..6c28c46f37988f7bf0e05e7f901db6432cf25884 100644 (file)
@@ -2831,5 +2831,5 @@ is-java-strict() {
 # removing any bundled dependencies
 java-pkg_clean() {
        [[ -n "${JAVA_PKG_NO_CLEAN}" ]] &&
-               find '(' -name '*.class' -o -name '*.jar' ')' -type f -delete -print || die
+               find "${@}" '(' -name '*.class' -o -name '*.jar' ')' -type f -delete -print || die
 }