summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/control.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/control.sh b/lib/control.sh
index 58827ea..3c2507e 100644
--- a/lib/control.sh
+++ b/lib/control.sh
@@ -125,7 +125,7 @@ ob_parse_control()
case "${req_fields}" in *" ${name} "*)
# Required field: remove from list.
req_fields="${req_fields% ${name} *}$(:\
- ) ${req#* ${field} }"
+ ) ${req_fields#* ${field} }"
continue
esac
if ${check_fields}; then