diff options
author | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-03-13 13:24:00 (EDT) |
---|---|---|
committer | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-03-13 13:24:00 (EDT) |
commit | 176161e071d50ee2f4873d21f8396c03a929c45d (patch) | |
tree | a0cd8044e7dfb90ad906009babafb60f57701995 /lib/control.sh | |
parent | 5ca9f9a969dd9af31c31b0a1549336140f668440 (diff) |
ob_parse_changelog(), ob_parse_control(): Explicitly assign null strings
POSIX say, "If value is not specified, the variable shall be given a
null value." Make this explicit, for consistency.
Diffstat (limited to 'lib/control.sh')
-rw-r--r-- | lib/control.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/control.sh b/lib/control.sh index 17c1ca8..6e199de 100644 --- a/lib/control.sh +++ b/lib/control.sh @@ -89,7 +89,7 @@ ob_parse_control() line_nr=0 - while IFS= read -r line; do + while IFS='' read -r line; do line_nr=$(($line_nr + 1)) case "${line}" in '') |