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