diff options
author | P. J. McDermott <pjm@nac.net> | 2012-10-23 23:23:51 (EDT) |
---|---|---|
committer | P. J. McDermott <pjm@nac.net> | 2012-10-23 23:23:51 (EDT) |
commit | ac831a4fb9a65678fb80d3c22b9db72c7140a3d7 (patch) | |
tree | a21b276d7096f03c8586a91af2b7fd1b077e0e75 | |
parent | cf79b86ee0bb712eb69c0ff9ceb7917c5b1aa07b (diff) |
Make optional first line of control value text.
-rw-r--r-- | lib/control.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/control.sh b/lib/control.sh index 35b597c..abbb2f2 100644 --- a/lib/control.sh +++ b/lib/control.sh @@ -73,8 +73,8 @@ ob_parse_control() _obpco_name="${_obpco_line%%:*}" _obpco_value="${_obpco_line#*:}" _obpco_value="${_obpco_value# }" - if [ -z "${_obpco_name}" -o "${_obpco_name}" = "${_obpco_line}" \ - -o -z "${_obpco_value}" ]; then + if [ -z "${_obpco_name}" \ + -o "${_obpco_name}" = "${_obpco_line}" ]; then # Badly formatted control field. _ob_parse_control_error "${_obpco_file}" "${_obpco_line_nr}" \ 'control_bad_nv' |