From 4ae9b589c658a5c5d5c87c19749baef39d76b352 Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Mon, 20 Apr 2026 21:05:07 -0500 Subject: [PATCH] Bugfix: Out of place build settings files in stand alone builds. The regular files are being included in the stand alone builds. This is confusing and can lead to build failures due to selecting invalid build settings files. Remove the build settings files that must not exist in stand alone builds. --- build/scripts/package.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/build/scripts/package.sh b/build/scripts/package.sh index 205313d9d..5e855b83d 100644 --- a/build/scripts/package.sh +++ b/build/scripts/package.sh @@ -2191,6 +2191,20 @@ package_operation_stand_alone() { break fi + # Clear out any build settings to ensure non-stand_alone build settings do not exist. + + rm ${verbose_common} -f ${package}data/build/settings* + + if [[ ${?} -ne 0 ]] ; then + if [[ ${verbosity} != "quiet" ]] ; then + echo -e "${c_error}ERROR: Failed to remove existing build settings ${c_notice}${package}data/build/settings*${c_error}.${c_reset}" + fi + + let failure=1 + + break + fi + cp ${verbose_common} -R ${path_build}stand_alone/${name}.settings ${package}data/build/settings if [[ ${?} -ne 0 ]] ; then -- 2.47.3