summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Clement <monsieurp@gentoo.org>2015-10-08 21:57:19 +0000
committerPatrice Clement <monsieurp@gentoo.org>2015-10-08 22:06:08 +0000
commit345f9d28083ddb3ac2dc8bcf4436247533ed042c (patch)
treeb3eeb17aa7eca98c66e12b24755ab2732c763f4c /dev-java/bcprov
parentdev-java/bcmail: Clean up old. (diff)
downloadgentoo-345f9d28083ddb3ac2dc8bcf4436247533ed042c.tar.gz
gentoo-345f9d28083ddb3ac2dc8bcf4436247533ed042c.tar.bz2
gentoo-345f9d28083ddb3ac2dc8bcf4436247533ed042c.zip
dev-java/bcprov: Mend use test condition.
Package-Manager: portage-2.2.20.1 Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Diffstat (limited to 'dev-java/bcprov')
-rw-r--r--dev-java/bcprov/bcprov-1.52-r1.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/dev-java/bcprov/bcprov-1.52-r1.ebuild b/dev-java/bcprov/bcprov-1.52-r1.ebuild
index f6bb54a7dbf..f8cf4ba1a9b 100644
--- a/dev-java/bcprov/bcprov-1.52-r1.ebuild
+++ b/dev-java/bcprov/bcprov-1.52-r1.ebuild
@@ -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
}