Update build.func

This commit is contained in:
CanbiZ 2025-03-26 08:40:27 +01:00
parent 988d00240f
commit efbd092e2f

View File

@ -361,7 +361,7 @@ base_settings() {
RAM_SIZE=${var_ram:-$RAM_SIZE} RAM_SIZE=${var_ram:-$RAM_SIZE}
VERB=${var_verbose:-$VERBOSE} VERB=${var_verbose:-$VERBOSE}
TAGS="${TAGS}${var_tags:-}" TAGS="${TAGS}${var_tags:-}"
ENABLE_FUSE="${var_fuse:-${ENABLE_FUSE:-0}}" ENABLE_FUSE="${var_fuse:-${ENABLE_FUSE:-no}}"
# Since these 2 are only defined outside of default_settings function, we add a temporary fallback. TODO: To align everything, we should add these as constant variables (e.g. OSTYPE and OSVERSION), but that would currently require updating the default_settings function for all existing scripts # Since these 2 are only defined outside of default_settings function, we add a temporary fallback. TODO: To align everything, we should add these as constant variables (e.g. OSTYPE and OSVERSION), but that would currently require updating the default_settings function for all existing scripts
if [ -z "$var_os" ]; then if [ -z "$var_os" ]; then