Skip to content

Commit

Permalink
dev-java/bcprov: Mend use test condition.
Browse files Browse the repository at this point in the history
Package-Manager: portage-2.2.20.1
Signed-off-by: Patrice Clement <[email protected]>
  • Loading branch information
monsieurp committed Oct 8, 2015
1 parent 91e66e4 commit 345f9d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dev-java/bcprov/bcprov-1.52-r1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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=()
Expand All @@ -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
}

Expand Down

0 comments on commit 345f9d2

Please sign in to comment.