CONF_READ: testing to export all the variables globally

This commit is contained in:
XargonWan 2024-08-05 22:34:13 +09:00
parent 91ee74ff17
commit 57db0d885e

View file

@ -201,6 +201,7 @@ conf_read() {
local current_setting_name=$(get_setting_name "$current_setting_line" "retrodeck") # Read the variable name from the current line
local current_setting_value=$(get_setting_value "$rd_conf" "$current_setting_name" "retrodeck" "$current_section") # Read the variables value from retrodeck.cfg
declare -g "$current_setting_name=$current_setting_value" # Write the current setting name and value to memory
export "$current_setting_name"
fi
fi
fi