mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-09 06:37:10 -08:00
dev-java/bcprov: Mend use test condition.
Package-Manager: portage-2.2.20.1 Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
This commit is contained in:
@@ -41,7 +41,7 @@ src_unpack() {
|
||||
}
|
||||
|
||||
java_prepare() {
|
||||
if ! test; then
|
||||
if ! use test; then
|
||||
# There are too many files to delete so we won't be using JAVA_RM_FILES
|
||||
# (it produces a lot of output).
|
||||
local RM_TEST_FILES=()
|
||||
@@ -52,7 +52,7 @@ java_prepare() {
|
||||
RM_TEST_FILES+=("${file}")
|
||||
done < <(find . -name "*Mock*.java" -type f -print0)
|
||||
|
||||
rm -f "${RM_TEST_FILES[@]}"
|
||||
rm -v "${RM_TEST_FILES[@]}"
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user