From cda3963baa68be6aeb8baff3cbb1750e80073e3a Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Sun, 11 Dec 2022 21:27:55 -0600 Subject: [PATCH] Bugfix: The bootsrap script needs to treat -s/--settings as a possible path. --- build/scripts/bootstrap.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/build/scripts/bootstrap.sh b/build/scripts/bootstrap.sh index f1ac1cd..389a37e 100644 --- a/build/scripts/bootstrap.sh +++ b/build/scripts/bootstrap.sh @@ -177,7 +177,13 @@ bootstrap_main() { p= fi - settings_file="${path_data}build/$settings_name" + # If the settings_name has a directory separator, then assume it is a path to the settings file. + if [[ $(echo $settings_name | grep -s -o '/') == "" ]] ; then + settings_file="${path_data}build/$settings_name" + else + settings_file="$settings_name" + fi + settings_defines="${path_data}build/defines" path_settings="${path_data}settings/" path_build_stage="${path_build}stage/" -- 1.8.3.1