dkbuild: bug avec -u seul

This commit is contained in:
Jephté Clain 2023-10-02 19:08:45 +04:00
parent 8cdc3cb2bb
commit 4f7bc3f6bf
1 changed files with 6 additions and 4 deletions

10
dkbuild
View File

@ -2656,9 +2656,10 @@ cd "$projdir"
}
function runb() {
local build="${DEFAULTS[build_build]-1}"
if [ -n "$build" ]; then
run "$@"
if [ -z "$build" ]; then
[ $# -eq 0 ] && return 1 || return 0
fi
run "$@"
}
function call() {
edebug "call $(qvals "$@")"
@ -2668,9 +2669,10 @@ cd "$projdir"
}
function callb() {
local build="${DEFAULTS[build_build]-1}"
if [ -n "$build" ]; then
call "$@"
if [ -z "$build" ]; then
[ $# -eq 0 ] && return 1 || return 0
fi
call "$@"
}
function dkbuild() {
edebug "dkbuild $(qvals "$@")"