diff options
author | 2011-01-07 03:45:39 +0100 | |
---|---|---|
committer | 2011-01-07 04:01:28 +0100 | |
commit | 532dd7a3871e389351d115fb19db73532bb6dd5b (patch) | |
tree | 6cb9e80ab8b3e30cc83af41b876dd24cca5b7fc0 /gen_bootloader.sh | |
parent | genkernel.conf: Allow overriding GK_SHARE from the environment to ease up tes... (diff) | |
download | genkernel-532dd7a3871e389351d115fb19db73532bb6dd5b.tar.gz genkernel-532dd7a3871e389351d115fb19db73532bb6dd5b.tar.bz2 genkernel-532dd7a3871e389351d115fb19db73532bb6dd5b.zip |
Review and fix some -eq and -ne conditionals
This fixes "sh: bad number" with busybox 1.18.1 during activation of mdev.
Diffstat (limited to 'gen_bootloader.sh')
-rwxr-xr-x | gen_bootloader.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gen_bootloader.sh b/gen_bootloader.sh index 9b1deefa..3e6f98b9 100755 --- a/gen_bootloader.sh +++ b/gen_bootloader.sh @@ -63,7 +63,7 @@ set_bootloader_grub() { # Add grub configuration to grub.conf echo "# Genkernel generated entry, see GRUB documentation for details" >> ${GRUB_CONF} echo "title=Gentoo Linux ($KV)" >> ${GRUB_CONF} - if [ "${BUILD_INITRD}" -eq '0' ] + if [ "${BUILD_INITRD}" = '0' ] then echo -e "\tkernel /kernel-${KNAME}-${ARCH}-${KV} root=${GRUB_ROOTFS}" >> ${GRUB_CONF} else |