1 |
commit: 21cff3bb042d2b9dc8493cc9ec67bd11dbdcd638 |
2 |
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat May 23 07:55:01 2020 +0000 |
4 |
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat May 23 07:55:22 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21cff3bb |
7 |
|
8 |
sys-devel/gcc-config: remove no-op slash strip |
9 |
|
10 |
Package-Manager: Portage-2.3.99, Repoman-2.3.22 |
11 |
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org> |
12 |
|
13 |
sys-devel/gcc-config/gcc-config-2.3.ebuild | 2 +- |
14 |
sys-devel/gcc-config/gcc-config-9999.ebuild | 2 +- |
15 |
2 files changed, 2 insertions(+), 2 deletions(-) |
16 |
|
17 |
diff --git a/sys-devel/gcc-config/gcc-config-2.3.ebuild b/sys-devel/gcc-config/gcc-config-2.3.ebuild |
18 |
index 65dd7a38e1f..e2c270403dd 100644 |
19 |
--- a/sys-devel/gcc-config/gcc-config-2.3.ebuild |
20 |
+++ b/sys-devel/gcc-config/gcc-config-2.3.ebuild |
21 |
@@ -53,7 +53,7 @@ pkg_postinst() { |
22 |
done |
23 |
|
24 |
# USE flag change can add or delete files in /usr/bin worth recaching |
25 |
- if [[ ! ${ROOT%/} && -f ${EPREFIX}/usr/share/eselect/modules/compiler-shadow.eselect ]] ; then |
26 |
+ if [[ ! ${ROOT} && -f ${EPREFIX}/usr/share/eselect/modules/compiler-shadow.eselect ]] ; then |
27 |
eselect compiler-shadow update all |
28 |
fi |
29 |
} |
30 |
|
31 |
diff --git a/sys-devel/gcc-config/gcc-config-9999.ebuild b/sys-devel/gcc-config/gcc-config-9999.ebuild |
32 |
index 65dd7a38e1f..e2c270403dd 100644 |
33 |
--- a/sys-devel/gcc-config/gcc-config-9999.ebuild |
34 |
+++ b/sys-devel/gcc-config/gcc-config-9999.ebuild |
35 |
@@ -53,7 +53,7 @@ pkg_postinst() { |
36 |
done |
37 |
|
38 |
# USE flag change can add or delete files in /usr/bin worth recaching |
39 |
- if [[ ! ${ROOT%/} && -f ${EPREFIX}/usr/share/eselect/modules/compiler-shadow.eselect ]] ; then |
40 |
+ if [[ ! ${ROOT} && -f ${EPREFIX}/usr/share/eselect/modules/compiler-shadow.eselect ]] ; then |
41 |
eselect compiler-shadow update all |
42 |
fi |
43 |
} |