Fix STRIP_MASK logic so that a match results in stripitbaby=0.
authorZac Medico <zmedico@gentoo.org>
Fri, 4 Aug 2006 03:13:03 +0000 (03:13 -0000)
committerZac Medico <zmedico@gentoo.org>
Fri, 4 Aug 2006 03:13:03 +0000 (03:13 -0000)
svn path=/main/trunk/; revision=4131

bin/prepstrip

index 5260539a9ab61a8043b867ad87f9c03ffdcaef12..b43d3bade75e1f1542c9f6585d92ba4cbe5a2e0f 100755 (executable)
@@ -71,7 +71,7 @@ for x in $(scanelf -yqRBF '#k%F' -k '.symtab' "$@") $(for y in "$@"; do find "${
        set -o noglob
        stripitbaby=1
        for m in $(eval echo ${STRIP_MASK}) ; do
-               [[ ${x} == ${m} ]] && stripitbaby=1 && break
+               [[ ${x} == ${m} ]] && stripitbaby=0 && break
        done
        set +o noglob