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 48f5bf3..aa641ec 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_fields#* ${field} }"
+ ) ${req_fields#* ${name} }"
continue
esac
if ${check_fields}; then