Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-shells/bash/
Date: Sun, 29 Nov 2020 19:11:44
Message-Id: 1606677095.61a87161d544d2ea59fc2a253e475c1dea83e6ad.polynomial-c@gentoo
1 commit: 61a87161d544d2ea59fc2a253e475c1dea83e6ad
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Sun Nov 29 19:11:07 2020 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Sun Nov 29 19:11:35 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61a87161
7
8 app-shells/bash: Replaced emktemp call with ${T}
9
10 Package-Manager: Portage-3.0.11, Repoman-3.0.2
11 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
12
13 app-shells/bash/bash-5.0_p18.ebuild | 2 +-
14 app-shells/bash/bash-5.1_rc3.ebuild | 2 +-
15 2 files changed, 2 insertions(+), 2 deletions(-)
16
17 diff --git a/app-shells/bash/bash-5.0_p18.ebuild b/app-shells/bash/bash-5.0_p18.ebuild
18 index 1b63b4bac05..034c887986c 100644
19 --- a/app-shells/bash/bash-5.0_p18.ebuild
20 +++ b/app-shells/bash/bash-5.0_p18.ebuild
21 @@ -247,7 +247,7 @@ pkg_preinst() {
22 # rewrite the symlink to ensure that its mtime changes. having /bin/sh
23 # missing even temporarily causes a fatal error with paludis.
24 local target=$(readlink "${EROOT}"/bin/sh)
25 - local tmp=$(emktemp "${EROOT}"/bin)
26 + local tmp="${T}"/sh
27 ln -sf "${target}" "${tmp}"
28 mv -f "${tmp}" "${EROOT}"/bin/sh
29 fi
30
31 diff --git a/app-shells/bash/bash-5.1_rc3.ebuild b/app-shells/bash/bash-5.1_rc3.ebuild
32 index 0c6c61907b2..e8efbe608c0 100644
33 --- a/app-shells/bash/bash-5.1_rc3.ebuild
34 +++ b/app-shells/bash/bash-5.1_rc3.ebuild
35 @@ -247,7 +247,7 @@ pkg_preinst() {
36 # rewrite the symlink to ensure that its mtime changes. having /bin/sh
37 # missing even temporarily causes a fatal error with paludis.
38 local target=$(readlink "${EROOT}"/bin/sh)
39 - local tmp=$(emktemp "${EROOT}"/bin)
40 + local tmp="${T}"/sh
41 ln -sf "${target}" "${tmp}"
42 mv -f "${tmp}" "${EROOT}"/bin/sh
43 fi