From: Kevin Day Date: Mon, 12 Dec 2022 03:27:55 +0000 (-0600) Subject: Bugfix: The bootsrap script needs to treat -s/--settings as a possible path. X-Git-Url: https://git.kevux.org/?a=commitdiff_plain;h=cda3963baa68be6aeb8baff3cbb1750e80073e3a;p=fll Bugfix: The bootsrap script needs to treat -s/--settings as a possible path. --- 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/"