Also export BUILD_DIR to an absolute path

This commit is contained in:
Kenneth Benzie 2024-06-21 14:15:51 +01:00
parent e7da727896
commit c401ecfb86

View File

@ -125,6 +125,7 @@ EOF
alias build="$build" alias build="$build"
hash -d build=$local_build_dir hash -d build=$local_build_dir
export build_dir=$local_build_dir export build_dir=$local_build_dir
export BUILD_DIR=$PWD/$local_build_dir
# If `--build` is specified then evaluate the command. # If `--build` is specified then evaluate the command.
if [[ -n $do_build ]]; then if [[ -n $do_build ]]; then