Making a reference single-quoted for grubDevices, as after substitution, there

will be doublequoted elements.

Suggested by Kirelagin.


svn path=/nixos/trunk/; revision=33403
This commit is contained in:
Lluís Batlle i Rossell 2012-03-25 12:36:43 +00:00
parent 70e1958bb6
commit 9fb07d4036

View file

@ -26,7 +26,7 @@ if [ "$action" = "switch" -o "$action" = "boot" ]; then
if [ "@bootLoader@" = "grub" ]; then
if [ -n "@grubDevices@" ]; then
if [ -n '@grubDevices@' ]; then
mkdir -m 0700 -p /boot/grub
@menuBuilder@ @out@