xbps-src: consistently use read -r when reading file paths
This commit is contained in:
parent
9e68e66a04
commit
65c9ade5e4
6 changed files with 6 additions and 8 deletions
|
@ -9,8 +9,7 @@ hook() {
|
|||
fi
|
||||
|
||||
# rewrite symlinks
|
||||
find $mandir -type l -regex '.*\.\(gz\|bz2\)' | while read f
|
||||
do
|
||||
find $mandir -type l -regex '.*\.\(gz\|bz2\)' | while read -r f; do
|
||||
lnkat=$(readlink "$f")
|
||||
ln -s ${lnkat%.*} ${f%.*}
|
||||
rm $f
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue