Fix conf_populate.sh sourcing load_config.sh three levels up from Deployment/
It resolved outside the repo on both layouts, so every helper was command-not-found and onboard Step 11 could never have succeeded.
This commit is contained in:
@@ -158,7 +158,11 @@
|
|||||||
# ==============================================================================================
|
# ==============================================================================================
|
||||||
|
|
||||||
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||||
source "$SCRIPT_DIR/../../../load_config.sh"
|
# Deployment/ sits one level under the repo root, not three. The old ../../../ resolved to
|
||||||
|
# /boot/config on a flash install and /mnt/user on an appdata one — outside the repo either
|
||||||
|
# way, so this sourced nothing and every helper below was "command not found". Onboard Step 11
|
||||||
|
# has been failing on that since it was written.
|
||||||
|
source "$SCRIPT_DIR/../load_config.sh"
|
||||||
SCRIPTS_ROOT="$SCRIPTS_DIR"
|
SCRIPTS_ROOT="$SCRIPTS_DIR"
|
||||||
|
|
||||||
OVERWRITE=false
|
OVERWRITE=false
|
||||||
|
|||||||
Reference in New Issue
Block a user