Changed basename to dirname when creating the directory from grub.conf to solve bug...
authorChris Gianelloni <wolf31o2@gentoo.org>
Mon, 15 Jan 2007 17:40:58 +0000 (17:40 +0000)
committerChris Gianelloni <wolf31o2@gentoo.org>
Mon, 15 Jan 2007 17:40:58 +0000 (17:40 +0000)
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@479 67a159dc-881f-0410-a524-ba9dfbe2cb84

ChangeLog
gen_bootloader.sh

index 8de05dc6bb4f338131553bc93590affbdc2f134f..b521e290b63b1966af31f2e02c9c151f12111f1c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,10 @@
 # Copyright 2006-2007 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  15 Jan 2007; Chris Gianelloni <wolf31o2@gentoo.org> gen_bootloader.sh:
+  Changed basename to dirname when creating the directory from grub.conf to
+  solve bug #161716.
+
   09 Jan 2007; Chris Gianelloni <wolf31o2@gentoo.org> alpha/modules_load,
   x86/modules_load, x86_64/modules_load, xen0/modules_load,
   xenU/modules_load:
index c484b3782a5c72924a0baed954a13316b348424a..9fa25b422e48a37d99e044674da30d730b0ee6ca 100644 (file)
@@ -39,7 +39,7 @@ EOF
        [ ! -d ${TEMP} ] && rm -r ${TEMP}
        
        # Create grub configuration directory and file if it doesn't exist.
-       [ ! -e `basename $GRUB_CONF` ] && mkdir -p `basename $GRUB_CONF`
+       [ ! -e `dirname $GRUB_CONF` ] && mkdir -p `dirname $GRUB_CONF`
 
        if [ ! -e $GRUB_CONF ]
        then