Bugfix for bug #72342.
authorTim Yamin <plasmaroo@gentoo.org>
Mon, 29 Nov 2004 19:03:18 +0000 (19:03 +0000)
committerTim Yamin <plasmaroo@gentoo.org>
Mon, 29 Nov 2004 19:03:18 +0000 (19:03 +0000)
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@153 67a159dc-881f-0410-a524-ba9dfbe2cb84

genkernel

index 638e4bd21f6eea0185df52857a7fa539287ed60d..a571520e8466fc00727dcd7b62459541bf0571e7 100755 (executable)
--- a/genkernel
+++ b/genkernel
@@ -188,7 +188,7 @@ then
                        [ -z "${GENSPLASH_THEME}" ] && [ -e /etc/conf.d/splash ] && source /etc/conf.d/splash
                        [ -z "${GENSPLASH_THEME}" ] && GENSPLASH_THEME=default
                        print_info 1 "  >> Installing gensplash [ using the ${GENSPLASH_THEME} theme ]..."
-                       sed -i 's:$(obj)/gen_init_cpio $(initramfs-y) FORCE:$(if $(shell [ ! -f $(obj)/initramfs_data.cpio ] && echo '1' ), $(obj)/gen_init_cpio $(initramfs-y)):' ${KERNEL_DIR}/usr/Makefile
+                       sed -i -e 's:$(obj)/gen_init_cpio $(initramfs-y) FORCE:$(if $(shell [ ! -f $(obj)/initramfs_data.cpio ] \&\& echo 1 ), $(obj)/gen_init_cpio $(initramfs-y)):' ${KERNEL_DIR}/usr/Makefile
                        splash_geninitramfs -g ${KERNEL_DIR}/usr/initramfs_data.cpio.gz ${GENSPLASH_THEME}
                        gunzip ${KERNEL_DIR}/usr/initramfs_data.cpio.gz
                else