From 57db0d885ee3188ab3b5df9901e02edd4c6b5316 Mon Sep 17 00:00:00 2001 From: XargonWan Date: Mon, 5 Aug 2024 22:34:13 +0900 Subject: [PATCH] CONF_READ: testing to export all the variables globally --- functions/other_functions.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/functions/other_functions.sh b/functions/other_functions.sh index f5d4d0ac..9bbbaaae 100644 --- a/functions/other_functions.sh +++ b/functions/other_functions.sh @@ -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