From 8882022f5358f9123a41f2412e520a42bb3881af Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Wed, 18 Sep 2013 23:27:56 -0400 Subject: ob-genchanges: Make substitutions in descriptions. --- (limited to 'src') 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' | \ -- cgit v0.9.1