mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-25 15:35:38 +00:00
CONF_READ: testing to export all the variables globally
This commit is contained in:
parent
91ee74ff17
commit
57db0d885e
|
@ -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_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
|
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
|
declare -g "$current_setting_name=$current_setting_value" # Write the current setting name and value to memory
|
||||||
|
export "$current_setting_name"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue