dkbuild: maj messages debug
This commit is contained in:
parent
1699cc5f44
commit
d6e78b9665
4
dkbuild
4
dkbuild
|
@ -1025,14 +1025,16 @@ function ensure_projdir() {
|
|||
[ -f "$DKBUILD" ] || die "$(ppath "$DKBUILD"): fichier de build introuvable"
|
||||
|
||||
if [ "$CONFIG" == none ]; then
|
||||
:
|
||||
edebug "no default config used"
|
||||
elif [ -n "$CONFIG" ]; then
|
||||
setx CONFIG=abspath "$CONFIG"
|
||||
edebug "using config $CONFIG"
|
||||
else
|
||||
local config
|
||||
for config in ~/.dkbuild.env /etc/dkbuild.env; do
|
||||
if [ -f "$config" ]; then
|
||||
CONFIG="$config"
|
||||
edebug "using default config $CONFIG"
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
|
Loading…
Reference in New Issue