Merge branch 'master' of git.dolda2000.com:/srv/git/r/dcp
[dcp.git] / dcp-init
index 68296d5..3730fb6 100755 (executable)
--- a/dcp-init
+++ b/dcp-init
@@ -55,6 +55,11 @@ initbase() {
     mkdir "$td/control/update.d"
     cat >"$td/control/functions" <<EOF
 readconf() {
+    if [ -r "$HOME/.dcp-build-conf" ]; then
+        while read key val; do
+            export "CONF_\$key"="\$val"
+        done <"$HOME/.dcp-build-conf"
+    fi
     while read key val; do
         export "CONF_\$key"="\$val"
     done <control/conf