Fix a few directory creation issues and a typo
authorEric Edgar <rocket@gentoo.org>
Fri, 29 Jul 2005 17:02:27 +0000 (17:02 +0000)
committerEric Edgar <rocket@gentoo.org>
Fri, 29 Jul 2005 17:02:27 +0000 (17:02 +0000)
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@289 67a159dc-881f-0410-a524-ba9dfbe2cb84

gen_determineargs.sh
gen_initramfs.sh

index 34a9de870a5905306900b51737caab40f53c606e..e3df74a628024f3638c75e34239f1d939c84dff4 100644 (file)
@@ -259,16 +259,19 @@ determine_real_args() {
        if [ "${CMD_MINKERNPACKAGE}" != '' ]
        then
                MINKERNPACKAGE="${CMD_MINKERNPACKAGE}"
+               mkdir -p `dirname ${MINKERNPACKAGE}`
        fi
        
        if [ "${CMD_MODULESPACKAGE}" != '' ]
        then
                MODULESPACKAGE="${CMD_MODULESPACKAGE}"
+               mkdir -p `dirname ${MODULESPACKAGE}`
        fi
 
        if [ "${CMD_KERNCACHE}" != '' ]
        then
                KERNCACHE="${CMD_KERNCACHE}"
+               mkdir -p `dirname ${KERNCACHE}`
        fi
        
        if [ "${CMD_NOINITRDMODULES}" != '' ]
index 1cbfbb6be102879c53bf4cadff51ddf7c4b24e68..30cfc4403b2120e4e3c81269217b3d72af377390 100644 (file)
@@ -488,7 +488,7 @@ merge_initramfs_cpio_archives(){
        print_info 1 "Merging"
        for i in ${MERGE_LIST}
        do
-               pring_info 1 "    $i"
+               print_info 1 "    $i"
        done
 
        cat ${MERGE_LIST} > ${TMPDIR}/initramfs-${KV}