Fix error in build-dir when --build is not set

This commit is contained in:
Kenneth Benzie 2018-08-28 14:44:19 +01:00
parent 0ab04406ec
commit 9e9c43a0cf

View File

@ -149,7 +149,9 @@ EOF
hash -d build=$build_dir hash -d build=$build_dir
# If `--build` is specified then evaluate the command. # If `--build` is specified then evaluate the command.
[[ -n $do_build ]] && eval build if [[ -n $do_build ]]; then
eval build
fi
fi fi
} }