dev-java/bcprov: Mend use test condition.
authorPatrice Clement <monsieurp@gentoo.org>
Thu, 8 Oct 2015 21:57:19 +0000 (21:57 +0000)
committerPatrice Clement <monsieurp@gentoo.org>
Thu, 8 Oct 2015 22:06:08 +0000 (22:06 +0000)
Package-Manager: portage-2.2.20.1
Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
dev-java/bcprov/bcprov-1.52-r1.ebuild

index f6bb54a7dbfaec9f6ab2be734c61add45e666533..f8cf4ba1a9b27aa94303a21b349c5f6f91e835bb 100644 (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
 }