diff options
-rw-r--r-- | eclass/java-utils-2.eclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/java-utils-2.eclass b/eclass/java-utils-2.eclass index 2ccf337b191d..c1f42408e462 100644 --- a/eclass/java-utils-2.eclass +++ b/eclass/java-utils-2.eclass @@ -2947,7 +2947,7 @@ is-java-strict() { java-pkg_clean() { NO_DELETE=() for keep in ${JAVA_PKG_NO_CLEAN[@]}; do - NO_DELETE+=( '!' '-wholename' ${keep} ) + NO_DELETE+=( '!' '-path' ${keep} ) done find "${@}" '(' -name '*.class' -o -name '*.jar' ${NO_DELETE[@]} ')' -type f -delete -print || die } |