From: Sergei Trofimovich Date: Sat, 23 May 2020 07:55:01 +0000 (+0100) Subject: sys-devel/gcc-config: remove no-op slash strip X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=21cff3bb042d2b9dc8493cc9ec67bd11dbdcd638;p=gentoo.git sys-devel/gcc-config: remove no-op slash strip Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Sergei Trofimovich --- diff --git a/sys-devel/gcc-config/gcc-config-2.3.ebuild b/sys-devel/gcc-config/gcc-config-2.3.ebuild index 65dd7a38e1fb..e2c270403dd3 100644 --- a/sys-devel/gcc-config/gcc-config-2.3.ebuild +++ b/sys-devel/gcc-config/gcc-config-2.3.ebuild @@ -53,7 +53,7 @@ pkg_postinst() { done # USE flag change can add or delete files in /usr/bin worth recaching - if [[ ! ${ROOT%/} && -f ${EPREFIX}/usr/share/eselect/modules/compiler-shadow.eselect ]] ; then + if [[ ! ${ROOT} && -f ${EPREFIX}/usr/share/eselect/modules/compiler-shadow.eselect ]] ; then eselect compiler-shadow update all fi } diff --git a/sys-devel/gcc-config/gcc-config-9999.ebuild b/sys-devel/gcc-config/gcc-config-9999.ebuild index 65dd7a38e1fb..e2c270403dd3 100644 --- a/sys-devel/gcc-config/gcc-config-9999.ebuild +++ b/sys-devel/gcc-config/gcc-config-9999.ebuild @@ -53,7 +53,7 @@ pkg_postinst() { done # USE flag change can add or delete files in /usr/bin worth recaching - if [[ ! ${ROOT%/} && -f ${EPREFIX}/usr/share/eselect/modules/compiler-shadow.eselect ]] ; then + if [[ ! ${ROOT} && -f ${EPREFIX}/usr/share/eselect/modules/compiler-shadow.eselect ]] ; then eselect compiler-shadow update all fi }