summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2016-05-14 11:14:31 +0200
committerMichał Górny <mgorny@gentoo.org>2016-05-14 11:54:20 +0200
commit6b77d8b80c35f488052922ccf51925c4c56d9a37 (patch)
treee411a94953f3e296ebd6c56a557d6abaa15a8702 /eclass/java-utils-2.eclass
parentjava-utils-2.eclass: Use insinto & insopts instead of vars, #566480 (diff)
downloadgentoo-6b77d8b80c35f488052922ccf51925c4c56d9a37.tar.gz
gentoo-6b77d8b80c35f488052922ccf51925c4c56d9a37.tar.bz2
gentoo-6b77d8b80c35f488052922ccf51925c4c56d9a37.zip
java-utils-2.eclass: DESTTREE assignment -> into, #566480
Diffstat (limited to 'eclass/java-utils-2.eclass')
-rw-r--r--eclass/java-utils-2.eclass5
1 files changed, 4 insertions, 1 deletions
diff --git a/eclass/java-utils-2.eclass b/eclass/java-utils-2.eclass
index 3b58a25dbb39..976243f00715 100644
--- a/eclass/java-utils-2.eclass
+++ b/eclass/java-utils-2.eclass
@@ -831,7 +831,10 @@ java-pkg_dolauncher() {
echo "source /usr/share/java-config-2/launcher/launcher.bash" >> "${target}"
if [[ -n "${target_dir}" ]]; then
- DESTTREE="${target_dir}" dobin "${target}"
+ (
+ into "${target_dir}"
+ dobin "${target}"
+ )
local ret=$?
return ${ret}
else