Fix SC2162.

This commit is contained in:
Darko Poljak 2018-10-05 12:50:01 +02:00
parent 16159d8fca
commit 644ec85d80
2 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ fi
set --
if [ -f "$__object/parameter/rsync-opts" ]; then
while read opts; do
while read -r opts; do
set -- "$@" "--$opts"
done < "$__object/parameter/rsync-opts"
fi

View File

@ -78,7 +78,7 @@ if [ -s "$__object/explorer/entry" ]; then
# Note that the files have to be sorted for comparison with `comm`.
sort "$__object/explorer/entry" > "$__object/files/is"
comm -13 "$__object/files/should" "$__object/files/is" | {
while read entry; do
while read -r entry; do
remove_line "$file" "$entry"
done
}