xbps-src: consistently use read -r when reading file paths

This commit is contained in:
Duncaen
2023-08-31 14:17:24 +02:00
parent 9e68e66a04
commit 65c9ade5e4
6 changed files with 6 additions and 8 deletions

View File

@@ -65,7 +65,7 @@ hook() {
STRIPCMD=/usr/bin/$STRIP
find ${PKGDESTDIR} -type f | while read f; do
find ${PKGDESTDIR} -type f | while read -r f; do
if [[ $f =~ ^${PKGDESTDIR}/usr/lib/debug/ ]]; then
continue
fi