From: Mike Frysinger Date: Thu, 1 Jan 2009 11:07:21 +0000 (-0000) Subject: dont force people to match leading $D in STRIP_MASK X-Git-Tag: v2.2_rc21~50 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=fc01641159f2db1d5cfa466fa31c4ca7dc48d0d9;p=portage.git dont force people to match leading $D in STRIP_MASK svn path=/main/trunk/; revision=12373 --- 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