summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorVlastimil Babka <caster@gentoo.org>2006-09-12 07:58:32 +0000
committerVlastimil Babka <caster@gentoo.org>2006-09-12 07:58:32 +0000
commitcda2997d0e7259393fc067955e21dac7b01e19f0 (patch)
tree85d512f1e0ead85476c780ea0f93e3a8dbb46b71 /eclass
parentVersion bump. Closes bug #144463. (diff)
downloadhistorical-cda2997d0e7259393fc067955e21dac7b01e19f0.tar.gz
historical-cda2997d0e7259393fc067955e21dac7b01e19f0.tar.bz2
historical-cda2997d0e7259393fc067955e21dac7b01e19f0.zip
Remove dolauncher's tmp file after it's used, to solve problems like bug #147243 caused by variable
assignments from previous dolauncher calls being used in consequent dolauncher calls (accumulating in that temp file).
Diffstat (limited to 'eclass')
-rw-r--r--eclass/java-utils-2.eclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/eclass/java-utils-2.eclass b/eclass/java-utils-2.eclass
index 06265c485eae..873a98b38678 100644
--- a/eclass/java-utils-2.eclass
+++ b/eclass/java-utils-2.eclass
@@ -564,6 +564,7 @@ java-pkg_dolauncher() {
[[ -n "${pre}" ]] && [[ -f "${pre}" ]] && cat "${pre}" >> "${target}"
echo "gjl_package=${JAVA_PKG_NAME}" >> "${target}"
cat "${var_tmp}" >> "${target}"
+ rm -f "${var_tmp}"
echo "source /usr/share/java-config-2/launcher/launcher.bash" >> "${target}"
if [[ -n "${target_dir}" ]]; then