summaryrefslogtreecommitdiffstats
path: root/functions
diff options
context:
space:
mode:
Diffstat (limited to 'functions')
-rw-r--r--functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions b/functions
index 4a62d8e..e9fb81a 100644
--- a/functions
+++ b/functions
@@ -590,7 +590,7 @@ write_image_config() {
. "$CONFIG"
# sanitize of any extra whitespace
- read -ra modules <<< "$MODULES"
+ read -ra modules <<<"${MODULES//-/_}"
for mod in "${modules[@]}"; do
in_array "${mod%\?}" "${ADDED_MODULES[@]}" || continue
add+=("${mod%\?}")