summaryrefslogtreecommitdiffstats
path: root/bin/prepstrip
diff options
context:
space:
mode:
Diffstat (limited to 'bin/prepstrip')
-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