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
No known key found for this signature in database
GPG key ID: 335C1D17EC3D6E35
6 changed files with 6 additions and 8 deletions

View file

@ -70,7 +70,7 @@ hook() {
exec 3<&0 # save stdin
exec < $depsftmp
while read f; do
while read -r f; do
lf=${f#${PKGDESTDIR}}
if [ "${skiprdeps/${lf}/}" != "${skiprdeps}" ]; then
msg_normal "Skipping dependency scan for ${lf}\n"