From ac831a4fb9a65678fb80d3c22b9db72c7140a3d7 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Tue, 23 Oct 2012 23:23:51 -0400 Subject: Make optional first line of control value text. --- 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' -- cgit v0.9.1