From 4c8da16edca3b579dae84b60ba61a2dd0b7da8ba Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Sun, 11 Dec 2022 21:27:34 -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 e24a639..ac7d5ae 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