From 957a6df9a50be82461ab95011a5093ddab60225f Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Sat, 30 May 2009 19:07:44 +0200 Subject: [PATCH] 'added "" to grub fix' --- usr/share/archboot/installer/setup | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/usr/share/archboot/installer/setup b/usr/share/archboot/installer/setup index abdeb3b2c..67e843745 100755 --- a/usr/share/archboot/installer/setup +++ b/usr/share/archboot/installer/setup @@ -2362,10 +2362,10 @@ dogrub() { sync # freeze xfs filesystems to enable grub installation on xfs filesystems if [ -x /usr/sbin/xfs_freeze ]; then - if [ $(cat /proc/mounts | grep "$DESTDIR/boot " | grep " xfs ") ]; then + if [ "$(cat /proc/mounts | grep "$DESTDIR/boot " | grep " xfs ")" ]; then /usr/sbin/xfs_freeze -f $DESTDIR/boot > /dev/null 2>&1 fi - if [ $(cat /proc/mounts | grep "$DESTDIR/ " | grep " xfs ") ]; then + if [ "$(cat /proc/mounts | grep "$DESTDIR/ " | grep " xfs ")" ]; then /usr/sbin/xfs_freeze -f $DESTDIR/ > /dev/null 2>&1 fi fi @@ -2403,10 +2403,10 @@ EOF cat /tmp/grub.log >$LOG # unfreeze xfs filesystems if [ -x /usr/sbin/xfs_freeze ]; then - if [ $(cat /proc/mounts | grep "$DESTDIR/boot " | grep " xfs ") ]; then + if [ "$(cat /proc/mounts | grep "$DESTDIR/boot " | grep " xfs ")" ]; then /usr/sbin/xfs_freeze -u $DESTDIR/boot > /dev/null 2>&1 fi - if [ $(cat /proc/mounts | grep "$DESTDIR/ " | grep " xfs ") ]; then + if [ "$(cat /proc/mounts | grep "$DESTDIR/ " | grep " xfs ")" ]; then /usr/sbin/xfs_freeze -u $DESTDIR/ > /dev/null 2>&1 fi fi