1 |
commit: dd8c0e06ab97797860023bc88b6f66bd19a2a3a5 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Mar 28 11:44:06 2018 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Mar 28 15:42:01 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=dd8c0e06 |
7 |
|
8 |
estrip: Fix handling slashes in STRIP_MASK |
9 |
|
10 |
Fixes: 244a62a4f275 ("Fix uses of D/ED to account for no trailing slash") |
11 |
|
12 |
bin/estrip | 2 +- |
13 |
1 file changed, 1 insertion(+), 1 deletion(-) |
14 |
|
15 |
diff --git a/bin/estrip b/bin/estrip |
16 |
index 41686aa39..030d9e8bf 100755 |
17 |
--- a/bin/estrip |
18 |
+++ b/bin/estrip |
19 |
@@ -395,7 +395,7 @@ do |
20 |
set -o noglob |
21 |
strip_this=true |
22 |
for m in $(eval echo ${STRIP_MASK}) ; do |
23 |
- [[ /${x#${ED%/}} == ${m} ]] && strip_this=false && break |
24 |
+ [[ ${x#${ED%/}} == ${m} ]] && strip_this=false && break |
25 |
done |
26 |
set +o noglob |
27 |
fi |