[arch-commits] Commit in systemd/trunk (initcpio-install-systemd)
Dave Reisner
dreisner at archlinux.org
Wed Oct 11 12:07:21 UTC 2017
Date: Wednesday, October 11, 2017 @ 12:07:20
Author: dreisner
Revision: 307502
Expand MODULES as an array (FS#55926)
This covers both the case of MODULES being a string and an array in
/etc/mkinitcpio.conf.
Modified:
systemd/trunk/initcpio-install-systemd
--------------------------+
initcpio-install-systemd | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Modified: initcpio-install-systemd
===================================================================
--- initcpio-install-systemd 2017-10-11 11:17:49 UTC (rev 307501)
+++ initcpio-install-systemd 2017-10-11 12:07:20 UTC (rev 307502)
@@ -181,7 +181,7 @@
(
. "$_f_config"
set -f
- printf "%s\n" $MODULES >"$BUILDROOT/etc/modules-load.d/MODULES.conf"
+ printf '%s\n' ${MODULES[@]} >"$BUILDROOT/etc/modules-load.d/MODULES.conf"
)
}
More information about the arch-commits
mailing list