commit: 7bb5f11e912c74592aacc9b55482c3a4921ed036 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> AuthorDate: Tue Jan 12 15:01:39 2021 +0000 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> CommitDate: Tue Jan 12 15:01:39 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7bb5f11e
app-shells/bash: Removed last occurance of emktemp Thanks-to: Kerin Millar <kfm <AT> 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 <AT> gentoo.org> app-shells/bash/bash-5.0_p11-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-shells/bash/bash-5.0_p11-r1.ebuild b/app-shells/bash/bash-5.0_p11-r1.ebuild index 166972b40ad..6420a7a4602 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
