Missing then keyword.
authorRobin H. Johnson <robbat2@gentoo.org>
Fri, 19 Oct 2012 22:20:54 +0000 (15:20 -0700)
committerRobin H. Johnson <robbat2@gentoo.org>
Fri, 19 Oct 2012 22:20:54 +0000 (15:20 -0700)
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
ChangeLog
gen_bootloader.sh

index 023016bb8d5e8a40b3bcdf712b1281e5a3ce6d87..7902101f65eb47fdc5ed4b116ee234aa23686e1b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -5,6 +5,9 @@
 # Distributed under the GPL v2
 # $Id$
 
+  19 Oct 2012; Robin H. Johnson <robbat2@gentoo.org> gen_bootloader.sh:
+  Missing then keyword.
+
   15 Oct 2012; Peter Hjalmarsson <xake@rymdraket.net> defaults/linuxrc:
   Support using init= on the command line.
 
index 7a4f485dce1638dfc719046cedec8a5fe540adc0..5848bd24220c8aeefe6c0b254a3221afde19dda3 100755 (executable)
@@ -91,6 +91,7 @@ set_bootloader_grub() {
                        echo "title=Gentoo Linux ($KV)" >> ${GRUB_CONF}
                        echo -e "\tkernel /kernel-${KNAME}-${ARCH}-${KV} root=${GRUB_ROOTFS}" >> ${GRUB_CONF}
                        if [ "${BUILD_INITRD}" = '1' ]
+                       then
                                if [ "${PAT}" -gt '4' ]
                                then
                                    echo -e "\tinitrd /initramfs-${KNAME}-${ARCH}-${KV}" >> ${GRUB_CONF}