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:
Patrice Clement
2015-10-08 22:06:08 +00:00
parent 91e66e4e8d
commit 345f9d2808
+2 -2
View File
@@ -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
}