From 21cff3bb042d2b9dc8493cc9ec67bd11dbdcd638 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Sat, 23 May 2020 08:55:01 +0100 Subject: [PATCH] sys-devel/gcc-config: remove no-op slash strip Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Sergei Trofimovich --- sys-devel/gcc-config/gcc-config-2.3.ebuild | 2 +- sys-devel/gcc-config/gcc-config-9999.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 } -- 2.26.2