From 2e618c3dd926b4aa9ddd8cb1b090aaa7c899ffef Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Mon, 24 Aug 2020 19:28:31 +0100 Subject: [PATCH] imagebuilder: update BASE_PATH --- imagebuilder.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/imagebuilder.sh b/imagebuilder.sh index 15a0fc1..dd38c1d 100755 --- a/imagebuilder.sh +++ b/imagebuilder.sh @@ -16,8 +16,8 @@ IMAGEBUILDER_REGISTRY="${IMAGEBUILDER_REGISTRY:-registry.service.mooncarrot.spac source "${lantern_path}/lantern.sh"; if [[ -z "${BASE_PATH}" ]]; then - subtask_begin "BASE_PATH environment variable not found - setting base path to ${HC}${PWD}${RS}"; - BASE_PATH="${PWD}"; + subtask_begin "BASE_PATH environment variable not found - setting base path to ${HC}${repo_root}/images${RS}"; + BASE_PATH="${repo_root}/images"; subtask_end "$?"; fi if [[ ! -d "${BASE_PATH}" ]]; then