commit:     04f64dbe3cbd24abdb3efd2d1759530bdee551ec
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 31 21:42:34 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Aug  1 01:19:10 2022 +0000
URL:        https://gitweb.gentoo.org/proj/portage.git/commit/?id=04f64dbe

estrip: fix double slash for < EAPI 7

Bug: https://bugs.gentoo.org/862600
Fixes: bb88e766897f5e7e0b0a10c48cf99a04edb73a40
Signed-off-by: Sam James <sam <AT> gentoo.org>

 bin/estrip | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/estrip b/bin/estrip
index fc2c3ef37..63bd46eb1 100755
--- a/bin/estrip
+++ b/bin/estrip
@@ -412,7 +412,7 @@ done < <(
        (
                find "$@" -type f ! -type l -name '*.a'
                cut -d ' ' -f1 < "${PORTAGE_BUILDDIR}"/build-info/NEEDED \
-                       | sed -e "s:^:${D}:"
+                       | sed -e "s:^:${D%/}:"
        ) | LC_ALL=C sort -u
 )
 else

Reply via email to