summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-01-01 11:07:21 +0000
committerMike Frysinger <vapier@gentoo.org>2009-01-01 11:07:21 +0000
commitfc01641159f2db1d5cfa466fa31c4ca7dc48d0d9 (patch)
treebd08a6b2e4785b2e65e8695de81432a168ff6b70
parent2f83d11c045735e84905b3b77be1c1cfedd46539 (diff)
downloadportage-fc01641159f2db1d5cfa466fa31c4ca7dc48d0d9.tar.gz
portage-fc01641159f2db1d5cfa466fa31c4ca7dc48d0d9.tar.bz2
portage-fc01641159f2db1d5cfa466fa31c4ca7dc48d0d9.zip
dont force people to match leading $D in STRIP_MASK
svn path=/main/trunk/; revision=12373
-rwxr-xr-xbin/prepstrip2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/prepstrip b/bin/prepstrip
index 3e4473314..143bd3da7 100755
--- a/bin/prepstrip
+++ b/bin/prepstrip
@@ -122,7 +122,7 @@ do
set -o noglob
strip_this=true
for m in $(eval echo ${STRIP_MASK}) ; do
- [[ ${x} == ${m} ]] && strip_this=false && break
+ [[ /${x#${D}} == ${m} ]] && strip_this=false && break
done
set +o noglob
else