mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-10 06:57:08 -08:00
java-utils-2.eclass: Don't leave junk in /tmp after ejunit calls
Put the junk in ${T} instead.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user