imagebuilder: update BASE_PATH

This commit is contained in:
Starbeamrainbowlabs 2020-08-24 19:28:31 +01:00
parent e198db4457
commit 2e618c3dd9
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

View file

@ -16,8 +16,8 @@ IMAGEBUILDER_REGISTRY="${IMAGEBUILDER_REGISTRY:-registry.service.mooncarrot.spac
source "${lantern_path}/lantern.sh"; source "${lantern_path}/lantern.sh";
if [[ -z "${BASE_PATH}" ]]; then if [[ -z "${BASE_PATH}" ]]; then
subtask_begin "BASE_PATH environment variable not found - setting base path to ${HC}${PWD}${RS}"; subtask_begin "BASE_PATH environment variable not found - setting base path to ${HC}${repo_root}/images${RS}";
BASE_PATH="${PWD}"; BASE_PATH="${repo_root}/images";
subtask_end "$?"; subtask_end "$?";
fi fi
if [[ ! -d "${BASE_PATH}" ]]; then if [[ ! -d "${BASE_PATH}" ]]; then