[fix] Export instead of declaring dynamic variables

This commit is contained in:
William Wernert
2020-04-22 13:56:53 -04:00
parent 89674a0697
commit 25432b745d
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -279,7 +279,7 @@ whiptail_enable_components() {
# Set any variables to 1 if they exist in COMPONENTS
for component in "${COMPONENTS[@]}"; do
declare "$component=1"
export "$component=1"
done