summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2021-01-12 16:01:39 +0100
committerLars Wendler <polynomial-c@gentoo.org>2021-01-12 16:01:39 +0100
commit7bb5f11e912c74592aacc9b55482c3a4921ed036 (patch)
treee6888b22642a67676e7ed97afbc196792323f7c3 /app-shells
parentmedia-plugins/kodi-game-libretro-snes9x: Cleanup old version (diff)
downloadgentoo-7bb5f11e912c74592aacc9b55482c3a4921ed036.tar.gz
gentoo-7bb5f11e912c74592aacc9b55482c3a4921ed036.tar.bz2
gentoo-7bb5f11e912c74592aacc9b55482c3a4921ed036.zip
app-shells/bash: Removed last occurance of emktemp
Thanks-to: Kerin Millar <kfm@plushkava.net> Closes: https://bugs.gentoo.org/745423 Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'app-shells')
-rw-r--r--app-shells/bash/bash-5.0_p11-r1.ebuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/app-shells/bash/bash-5.0_p11-r1.ebuild b/app-shells/bash/bash-5.0_p11-r1.ebuild
index 166972b40ad5..6420a7a4602b 100644
--- a/app-shells/bash/bash-5.0_p11-r1.ebuild
+++ b/app-shells/bash/bash-5.0_p11-r1.ebuild
@@ -252,7 +252,7 @@ pkg_preinst() {
# rewrite the symlink to ensure that its mtime changes. having /bin/sh
# missing even temporarily causes a fatal error with paludis.
local target=$(readlink "${EROOT}"/bin/sh)
- local tmp=$(emktemp "${EROOT}"/bin)
+ local tmp="${T}"/sh
ln -sf "${target}" "${tmp}"
mv -f "${tmp}" "${EROOT}"/bin/sh
fi