Attempt to fix bug 117649
authorEric Edgar <rocket@gentoo.org>
Mon, 16 Jan 2006 14:47:01 +0000 (14:47 +0000)
committerEric Edgar <rocket@gentoo.org>
Mon, 16 Jan 2006 14:47:01 +0000 (14:47 +0000)
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@1022 d1e1f19c-881f-0410-ab34-b69fee027534

ChangeLog
targets/support/functions.sh

index e13db183dfe11d9882c199422cd1f02325039e84..c915f12836dc0a18fa4cab772bdfccaa6cb4bc11 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.507 2006/01/16 07:18:28 rocket Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.508 2006/01/16 14:47:01 rocket Exp $
+
+  16 Jan 2006; Eric Edgar <rocket@gentoo.org> targets/support/functions.sh:
+  Attempt to fix bug 117649
 
   16 Jan 2006; Eric Edgar <rocket@gentoo.org>
   modules/generic_stage_target.py:
index 838e480b623a1342dcc2ba2b6ffba7cb56de638b..ff39a6acdacffb60a4a4ed25f17a841b6cafb17a 100755 (executable)
@@ -158,15 +158,15 @@ extract_kernel() {
        mv ${1}/kernel-* ${1}/${2}
 
        # change initrd name from "initrd" to "gentoo.igz", for example
-       if [ -e ${1}/initrd-* ]
+       if [ -e "${1}/initrd-*" ]
        then
-               mv ${1}/initrd-* ${1}/${2}.igz
+               mv "${1}/initrd-*" "${1}/${2}.igz"
        fi
 
        # change initramfs name from "initramfs" to "gentoo.igz", for example
-       if [ -e ${1}/initramfs-* ]
+       if [ -e "${1}"/initramfs-* ]
        then
-               mv ${1}/initramfs-* ${1}/${2}.igz
+               mv "${1}"/initramfs-* "${1}/${2}.igz"
        fi
 }