From: Patrice Clement Date: Thu, 8 Oct 2015 21:57:19 +0000 (+0000) Subject: dev-java/bcprov: Mend use test condition. X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=345f9d28083ddb3ac2dc8bcf4436247533ed042c;p=gentoo.git dev-java/bcprov: Mend use test condition. Package-Manager: portage-2.2.20.1 Signed-off-by: Patrice Clement --- diff --git a/dev-java/bcprov/bcprov-1.52-r1.ebuild b/dev-java/bcprov/bcprov-1.52-r1.ebuild index f6bb54a7dbfa..f8cf4ba1a9b2 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 }