forked from ungleich-public/cdist
Fix SC2162.
This commit is contained in:
parent
16159d8fca
commit
644ec85d80
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue