diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2021-01-12 16:01:39 +0100 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2021-01-12 16:01:39 +0100 |
commit | 7bb5f11e912c74592aacc9b55482c3a4921ed036 (patch) | |
tree | e6888b22642a67676e7ed97afbc196792323f7c3 /app-shells/bash | |
parent | media-plugins/kodi-game-libretro-snes9x: Cleanup old version (diff) | |
download | gentoo-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/bash')
-rw-r--r-- | app-shells/bash/bash-5.0_p11-r1.ebuild | 2 |
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 |