diff options
-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. |