From 61a87161d544d2ea59fc2a253e475c1dea83e6ad Mon Sep 17 00:00:00 2001 From: Lars Wendler Date: Sun, 29 Nov 2020 20:11:07 +0100 Subject: app-shells/bash: Replaced emktemp call with ${T} Package-Manager: Portage-3.0.11, Repoman-3.0.2 Signed-off-by: Lars Wendler --- app-shells/bash/bash-5.0_p18.ebuild | 2 +- app-shells/bash/bash-5.1_rc3.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app-shells/bash/bash-5.0_p18.ebuild b/app-shells/bash/bash-5.0_p18.ebuild index 1b63b4bac05b..034c887986cc 100644 --- a/app-shells/bash/bash-5.0_p18.ebuild +++ b/app-shells/bash/bash-5.0_p18.ebuild @@ -247,7 +247,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 diff --git a/app-shells/bash/bash-5.1_rc3.ebuild b/app-shells/bash/bash-5.1_rc3.ebuild index 0c6c61907b2c..e8efbe608c08 100644 --- a/app-shells/bash/bash-5.1_rc3.ebuild +++ b/app-shells/bash/bash-5.1_rc3.ebuild @@ -247,7 +247,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 -- cgit v1.2.3-65-gdbad