xbps-src: quote properly some vars in the strip/verifyrdeps code.

This commit is contained in:
Juan RP 2010-12-14 18:16:53 +01:00
parent f2bd4e603b
commit 1c8e866f9d
2 changed files with 12 additions and 7 deletions

View file

@ -56,9 +56,8 @@ strip_files_real()
fi
msg_normal "Package '$pkgname ($lver)': stripping files, please wait..."
find ${DESTDIR} -type f | while read f
do
case "$(file -biz $f)" in
find ${DESTDIR} -type f | while read f; do
case "$(file -bi "$f")" in
application/x-executable*)
strip "$f" && \
echo " Stripped executable: $(basename $f)";;