From c757eaa33cea071f15decbfced826778242ff38a Mon Sep 17 00:00:00 2001 From: Eric Edgar Date: Mon, 16 Jan 2006 14:47:01 +0000 Subject: [PATCH] Attempt to fix bug 117649 git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@1022 d1e1f19c-881f-0410-ab34-b69fee027534 --- ChangeLog | 5 ++++- targets/support/functions.sh | 8 ++++---- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index e13db183..c915f128 100644 --- 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 targets/support/functions.sh: + Attempt to fix bug 117649 16 Jan 2006; Eric Edgar modules/generic_stage_target.py: diff --git a/targets/support/functions.sh b/targets/support/functions.sh index 838e480b..ff39a6ac 100755 --- a/targets/support/functions.sh +++ b/targets/support/functions.sh @@ -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 } -- 2.26.2