From 956e1acabb8ce50cb21639f48ce253486e7cd3a0 Mon Sep 17 00:00:00 2001 From: Igor Pecovnik Date: Mon, 22 Nov 2021 21:34:01 +0100 Subject: [PATCH] Move Docker generation stop hook further into the code to include Toolchains --- compile.sh | 3 --- lib/main.sh | 2 ++ 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/compile.sh b/compile.sh index 32f9ffa6b4..25973bdf19 100755 --- a/compile.sh +++ b/compile.sh @@ -288,9 +288,6 @@ while [[ "${1}" == *=* ]]; do done -# Used to prepare Docker image -[[ "${JUST_INIT}" == "yes" ]] && exit 0 - if [[ "${BUILD_ALL}" == "yes" || "${BUILD_ALL}" == "demo" ]]; then diff --git a/lib/main.sh b/lib/main.sh index a4ff1857c2..630523c541 100644 --- a/lib/main.sh +++ b/lib/main.sh @@ -428,6 +428,8 @@ start=$(date +%s) # The OFFLINE_WORK variable inside the function prepare_host +[[ "${JUST_INIT}" == "yes" ]] && exit 0 + [[ $CLEAN_LEVEL == *sources* ]] && cleaning "sources" # fetch_from_repo