summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Schmaus <flow@gentoo.org>2022-04-19 09:35:10 +0200
committerFlorian Schmaus <flow@gentoo.org>2022-04-19 09:39:20 +0200
commit8c9633716dd5243defd2333d60a8f6c1b59518de (patch)
tree5d050f52d72c3501c97e77841a1156127caeead2 /dev-java/jcommander
parentdev-java/jcommander: add 1.82 (diff)
downloadgentoo-8c9633716dd5243defd2333d60a8f6c1b59518de.tar.gz
gentoo-8c9633716dd5243defd2333d60a8f6c1b59518de.tar.bz2
gentoo-8c9633716dd5243defd2333d60a8f6c1b59518de.zip
dev-java/jcommander: properly quote $T and use arrays
Gentoo's java eclasses currently use a mix of comma/space separated values in non-bash-array variables and bash-array variables. It is important to know when what is used, hence make it obvious from the definition site. Also $T may contain spaces, so it should be properly quoted when used. Signed-off-by: Florian Schmaus <flow@gentoo.org>
Diffstat (limited to 'dev-java/jcommander')
-rw-r--r--dev-java/jcommander/jcommander-1.82.ebuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/dev-java/jcommander/jcommander-1.82.ebuild b/dev-java/jcommander/jcommander-1.82.ebuild
index eec93ae2b126..845d94b587c7 100644
--- a/dev-java/jcommander/jcommander-1.82.ebuild
+++ b/dev-java/jcommander/jcommander-1.82.ebuild
@@ -40,10 +40,10 @@ JAVA_SRC_DIR="src/main/java"
# Needs "java-util-2-runner-args.patch" from https://github.com/gentoo/gentoo/pull/21319#issuecomment-878128343
JAVA_TEST_RUNNER_EXTRA_ARGS=( -verbose 3 -usedefaultlisteners true )
-JAVA_TEST_EXTRA_ARGS="-Djava.io.tmpdir=${T}"
JAVA_TEST_GENTOO_CLASSPATH="jackson-annotations-2,testng"
-JAVA_TEST_SRC_DIR="src/test/java"
-JAVA_TEST_RESOURCE_DIRS="src/test/resources"
+JAVA_TEST_EXTRA_ARGS=( -Djava.io.tmpdir="${T}" )
+JAVA_TEST_SRC_DIR=( src/test/java )
+JAVA_TEST_RESOURCE_DIRS=( src/test/resources )
src_prepare() {
default