imagebuilder: update BASE_PATH
This commit is contained in:
parent
e198db4457
commit
2e618c3dd9
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue