Dolda2000 GitWeb
/
dcp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
1297899
)
Read default configuration from home directory.
author
Fredrik Tolf
<fredrik@dolda2000.com>
Sun, 27 Jan 2008 20:18:43 +0000
(21:18 +0100)
committer
Fredrik Tolf
<fredrik@dolda2000.com>
Sun, 27 Jan 2008 20:18:43 +0000
(21:18 +0100)
dcp-init
patch
|
blob
|
blame
|
history
diff --git
a/dcp-init
b/dcp-init
index
05e39fd
..
3babd45
100755
(executable)
--- a/
dcp-init
+++ b/
dcp-init
@@
-55,6
+55,11
@@
initbase() {
mkdir "$td/control/update.d"
cat >"$td/control/functions" <<EOF
readconf() {
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
while read key val; do
export "CONF_\$key"="\$val"
done <control/conf