diff options
author | P. J. McDermott <pjm@nac.net> | 2012-10-23 23:20:08 (EDT) |
---|---|---|
committer | P. J. McDermott <pjm@nac.net> | 2012-10-23 23:20:08 (EDT) |
commit | cf79b86ee0bb712eb69c0ff9ceb7917c5b1aa07b (patch) | |
tree | e46b38eab70cbebfecc15ca911dcba2fc8403348 /lib | |
parent | 61a75a56f0f8e75de67c10319f363e305f3e2970 (diff) |
Make optional the space after ":" in control info.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/control.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/control.sh b/lib/control.sh index 5190155..35b597c 100644 --- a/lib/control.sh +++ b/lib/control.sh @@ -71,7 +71,8 @@ ob_parse_control() fi fi _obpco_name="${_obpco_line%%:*}" - _obpco_value="${_obpco_line#*: }" + _obpco_value="${_obpco_line#*:}" + _obpco_value="${_obpco_value# }" if [ -z "${_obpco_name}" -o "${_obpco_name}" = "${_obpco_line}" \ -o -z "${_obpco_value}" ]; then # Badly formatted control field. |