From 9fb07d40365e96b84beab0871d382b723e9c5533 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Batlle=20i=20Rossell?= Date: Sun, 25 Mar 2012 12:36:43 +0000 Subject: [PATCH] Making a reference single-quoted for grubDevices, as after substitution, there will be doublequoted elements. Suggested by Kirelagin. svn path=/nixos/trunk/; revision=33403 --- modules/system/activation/switch-to-configuration.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/system/activation/switch-to-configuration.sh b/modules/system/activation/switch-to-configuration.sh index a7d25a6c80c..b80945d115d 100644 --- a/modules/system/activation/switch-to-configuration.sh +++ b/modules/system/activation/switch-to-configuration.sh @@ -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@