Changed basename to dirname when creating the directory from grub.conf to solve bug #161716.

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@479 67a159dc-881f-0410-a524-ba9dfbe2cb84
cleanup-cruft
Chris Gianelloni 18 years ago
parent 7e7a6e1540
commit 7ea4f21496

@ -2,6 +2,10 @@
# Copyright 2006-2007 Gentoo Foundation; Distributed under the GPL v2 # Copyright 2006-2007 Gentoo Foundation; Distributed under the GPL v2
# $Header: $ # $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, 09 Jan 2007; Chris Gianelloni <wolf31o2@gentoo.org> alpha/modules_load,
x86/modules_load, x86_64/modules_load, xen0/modules_load, x86/modules_load, x86_64/modules_load, xen0/modules_load,
xenU/modules_load: xenU/modules_load:

@ -39,7 +39,7 @@ EOF
[ ! -d ${TEMP} ] && rm -r ${TEMP} [ ! -d ${TEMP} ] && rm -r ${TEMP}
# Create grub configuration directory and file if it doesn't exist. # 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 ] if [ ! -e $GRUB_CONF ]
then then

Loading…
Cancel
Save