Add empty IFS for single var reads
This commit is contained in:
parent
134c479e36
commit
49d068aad3
6 changed files with 7 additions and 7 deletions
|
@ -64,7 +64,7 @@ zonefile_regex=$(git config --default '\.zone$' hooks.zonefileregex)
|
|||
needs_serial_bump=$(git diff-index --name-only --cached "$against" |
|
||||
grep -E -- "$zonefile_regex" | {
|
||||
rc=0
|
||||
while read -r filename; do
|
||||
while IFS= read -r filename; do
|
||||
old=$(get_serial "$against:$filename")
|
||||
new=$(get_serial ":$filename")
|
||||
if bc_cmp "$new" "<=" "$old"; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue