sys-devel/gcc-config: remove no-op slash strip
authorSergei Trofimovich <slyfox@gentoo.org>
Sat, 23 May 2020 07:55:01 +0000 (08:55 +0100)
committerSergei Trofimovich <slyfox@gentoo.org>
Sat, 23 May 2020 07:55:22 +0000 (08:55 +0100)
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
sys-devel/gcc-config/gcc-config-2.3.ebuild
sys-devel/gcc-config/gcc-config-9999.ebuild

index 65dd7a38e1fba84470fecb498eb99350dc399ded..e2c270403dd3a9dad32b928836574d478b6260c8 100644 (file)
@@ -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
 }
index 65dd7a38e1fba84470fecb498eb99350dc399ded..e2c270403dd3a9dad32b928836574d478b6260c8 100644 (file)
@@ -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
 }