commit | dd8c0e06ab97797860023bc88b6f66bd19a2a3a5 | [log] [tgz] |
---|---|---|
author | Michał Górny <mgorny@gentoo.org> | Wed Mar 28 13:44:06 2018 +0200 |
committer | Zac Medico <zmedico@gentoo.org> | Wed Mar 28 08:42:01 2018 -0700 |
tree | 05e8c2f678157efd962798d70ab0416370656434 | |
parent | 839b0d3a58332538c7ea92b6cc4b538332f2deb4 [diff] |
estrip: Fix handling slashes in STRIP_MASK Fixes: 244a62a4f275 ("Fix uses of D/ED to account for no trailing slash")
diff --git a/bin/estrip b/bin/estrip index 41686aa..030d9e8 100755 --- a/bin/estrip +++ b/bin/estrip
@@ -395,7 +395,7 @@ set -o noglob strip_this=true for m in $(eval echo ${STRIP_MASK}) ; do - [[ /${x#${ED%/}} == ${m} ]] && strip_this=false && break + [[ ${x#${ED%/}} == ${m} ]] && strip_this=false && break done set +o noglob fi