aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Yamin <plasmaroo@gentoo.org>2005-06-03 18:53:36 +0000
committerTim Yamin <plasmaroo@gentoo.org>2005-06-03 18:53:36 +0000
commita33cd9f87ce3cfb71b7d6e71f4b92aaa4ea1c971 (patch)
tree24a230c51f73f1527f7a9f8b5730e1def379cac1 /gen_bootloader.sh
parentAdd GRUB support cleanup by Richard Morris (#59192) to show an error if we ca... (diff)
downloadgenkernel-a33cd9f87ce3cfb71b7d6e71f4b92aaa4ea1c971.tar.gz
genkernel-a33cd9f87ce3cfb71b7d6e71f4b92aaa4ea1c971.tar.bz2
genkernel-a33cd9f87ce3cfb71b7d6e71f4b92aaa4ea1c971.zip
Fix syntax.
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@202 67a159dc-881f-0410-a524-ba9dfbe2cb84
Diffstat (limited to 'gen_bootloader.sh')
-rw-r--r--gen_bootloader.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/gen_bootloader.sh b/gen_bootloader.sh
index e685c14..de8ada6 100644
--- a/gen_bootloader.sh
+++ b/gen_bootloader.sh
@@ -48,8 +48,9 @@ set_grub_bootloader() {
# Check that $GRUB_ROOT_PARTITION is a single character
local GRUB_ROOT_PARTITION_TEST=$(printf $GRUB_ROOT_PARTITION | wc -c)
if [ "${GRUB_ROOT_PARTITION_TEST}" -ne '1' ]
+ then
# GRUB_ROOT_PARTITION is not a number; we can't work this out so... error
- print_error 1 'Error! /boot/grub/grub.conf does not exist and the correct settings can't be automatically detected.'
+ print_error 1 'Error! /boot/grub/grub.conf does not exist and the correct settings can\'t be automatically detected.'
print_error 1 'Please manually create your /boot/grub/grub.conf file.'
else
# grub.conf doesn't exist - create it with standard defaults