diff options
author | Brian Parsons <brian@pmex.com> | 2012-06-11 23:30:10 +0200 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2012-06-12 00:38:35 +0200 |
commit | 7cf7ac4eb2c29a2b1aa748dae7658da5fbbc3a18 (patch) | |
tree | 49b7aed77ff5b0ef0a2a21e18f3d77be67a878cc | |
parent | 5d1f8aa4e5e1726260316adc73963885e07c8d09 (diff) | |
download | mkinitcpio-7cf7ac4eb2c29a2b1aa748dae7658da5fbbc3a18.tar.gz mkinitcpio-7cf7ac4eb2c29a2b1aa748dae7658da5fbbc3a18.tar.xz |
Update module filter to be aware of hyphens in the MODULES array
[dave: fix whitespace and re-add needed quoting]
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
-rw-r--r-- | functions | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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%\?}") |