bug
This commit is contained in:
parent
e7745c2dd4
commit
c2cfd7739a
3
dkbuild
3
dkbuild
|
@ -1078,12 +1078,13 @@ function reset_functions() {
|
|||
function include() {
|
||||
edebug "include $(qvals "$@")"
|
||||
|
||||
local file="$1"
|
||||
local file="$1" cwd="$(pwd)"
|
||||
[ -d "$file" ] && file="$file/dkbuild"
|
||||
[ -f "$file" ] || die "$file: fichier introuvable"
|
||||
setx file=abspath "$file"
|
||||
cd "$(dirname "$file")"
|
||||
source "$file"
|
||||
cd "$cwd"
|
||||
}
|
||||
function machine() {
|
||||
local machine version
|
||||
|
|
Loading…
Reference in New Issue