diff options
author | P. J. McDermott <pjm@nac.net> | 2013-09-18 23:27:56 (EDT) |
---|---|---|
committer | P. J. McDermott <pjm@nac.net> | 2013-09-18 23:30:49 (EDT) |
commit | 8882022f5358f9123a41f2412e520a42bb3881af (patch) | |
tree | ac8441346630d1846511a5437baafcaea9d6da16 /src | |
parent | 57b1d00e161aa8eb16bbbbf22fde585693f863d9 (diff) |
ob-genchanges: Make substitutions in descriptions.
Diffstat (limited to 'src')
-rw-r--r-- | src/ob-genchanges.sh | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/ob-genchanges.sh b/src/ob-genchanges.sh index 80c2a56..c5e5c95 100644 --- a/src/ob-genchanges.sh +++ b/src/ob-genchanges.sh @@ -73,8 +73,11 @@ write_changes() printf 'Description:\n' >&3 for pkg in $(ob_get_binary_packages); do - printf ' %s - %s\n' "${pkg}" "$(ob_get_binary_parameter \ - "${pkg}" 'Description' | head -n 1)" >&3 + ob_set_package_substvars "${pkg}" + desc="$(ob_get_binary_parameter "${pkg}" 'Description' | \ + head -n 1)" + desc="$(ob_substvars "${desc}")" + printf ' %s - %s\n' "${pkg}" "${desc}" >&3 done printf 'Changes:\n%s\n' "$(ob_get_source_parameter 'Changes' | \ |