summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-03-17 14:01:36 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-03-17 14:01:36 (EDT)
commit2035b06722c7a9c36e75e224bae8cd8dfae1aadb (patch)
treef200cba480fb86853ddd394197da7676cc2ba860 /lib
parent718177203cd92e165393adff016a9a21b87aab51 (diff)
ob_parse_control(): Fix another variable name in expansion
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