diff options
author | James Le Cuirot <chewi@gentoo.org> | 2015-12-04 21:07:24 +0000 |
---|---|---|
committer | James Le Cuirot <chewi@gentoo.org> | 2015-12-04 21:07:24 +0000 |
commit | afc9b285e52cc818123056bf6f1fee51a56c4a6c (patch) | |
tree | 8ff18c0bfafc06b3c5fe96c856fae9212503fdbb /eclass/java-utils-2.eclass | |
parent | dev-php/pecl-timezonedb: Version bump to 2015.7 (diff) | |
download | gentoo-afc9b285e52cc818123056bf6f1fee51a56c4a6c.tar.gz gentoo-afc9b285e52cc818123056bf6f1fee51a56c4a6c.tar.bz2 gentoo-afc9b285e52cc818123056bf6f1fee51a56c4a6c.zip |
java-utils-2.eclass: Don't leave junk in /tmp after ejunit calls
Put the junk in ${T} instead.
Diffstat (limited to 'eclass/java-utils-2.eclass')
-rw-r--r-- | eclass/java-utils-2.eclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/java-utils-2.eclass b/eclass/java-utils-2.eclass index f7a6a86a7529..1a7dd7dc0171 100644 --- a/eclass/java-utils-2.eclass +++ b/eclass/java-utils-2.eclass @@ -1802,8 +1802,8 @@ ejunit_() { if [[ "${junit}" == "junit-4" ]] ; then runner=org.junit.runner.JUnitCore fi - debug-print "Calling: java -cp \"${cp}\" -Djava.awt.headless=true ${runner} ${@}" - java -cp "${cp}" -Djava.awt.headless=true ${runner} "${@}" || die "Running junit failed" + debug-print "Calling: java -cp \"${cp}\" -Djava.io.tmpdir=\"${T}\" -Djava.awt.headless=true ${runner} ${@}" + java -cp "${cp}" -Djava.io.tmpdir="${T}/" -Djava.awt.headless=true ${runner} "${@}" || die "Running junit failed" } # @FUNCTION: ejunit |