aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/estrip2
1 files changed, 1 insertions, 1 deletions
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