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"
|
[ -f "$DKBUILD" ] || die "$(ppath "$DKBUILD"): fichier de build introuvable"
|
||||||
|
|
||||||
if [ "$CONFIG" == none ]; then
|
if [ "$CONFIG" == none ]; then
|
||||||
:
|
edebug "no default config used"
|
||||||
elif [ -n "$CONFIG" ]; then
|
elif [ -n "$CONFIG" ]; then
|
||||||
setx CONFIG=abspath "$CONFIG"
|
setx CONFIG=abspath "$CONFIG"
|
||||||
|
edebug "using config $CONFIG"
|
||||||
else
|
else
|
||||||
local config
|
local config
|
||||||
for config in ~/.dkbuild.env /etc/dkbuild.env; do
|
for config in ~/.dkbuild.env /etc/dkbuild.env; do
|
||||||
if [ -f "$config" ]; then
|
if [ -f "$config" ]; then
|
||||||
CONFIG="$config"
|
CONFIG="$config"
|
||||||
|
edebug "using default config $CONFIG"
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in New Issue