From 54cb3b7caa2cf7b339212b69f9b423ec36d15e6a Mon Sep 17 00:00:00 2001 From: Fredrik Tolf Date: Mon, 24 Mar 2008 22:56:02 +0100 Subject: [PATCH] Updated control files for adding changelog entries. --- dcp-init | 45 ++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 44 insertions(+), 1 deletion(-) diff --git a/dcp-init b/dcp-init index 262a2bb..f8f3667 100755 --- a/dcp-init +++ b/dcp-init @@ -61,6 +61,11 @@ readconf() { export "CONF_\$key"="\$val" done <"\$HOME/.dcp-build-conf" fi + if [ -r "/etc/dcp-conf" ]; then + while read key val; do + export "CONF_\$key"="\$val" + done <"/etc/dcp-conf" + fi while read key val; do export "CONF_\$key"="\$val" done repo/src/debian/changelog.new <"$td/control/build" <"$td/control/update.d/post-logchange" <>"$td/control/conf" rungit add control/conf } -- 2.11.0