From 2563d162f2440976680ed60c577db05487d3c8bd Mon Sep 17 00:00:00 2001 From: Chris Gianelloni Date: Wed, 1 Feb 2006 21:09:50 +0000 Subject: [PATCH] Removed some quotes to make sure we have a binary operator and closing bug #117649. git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@1060 d1e1f19c-881f-0410-ab34-b69fee027534 --- ChangeLog | 7 ++++++- targets/support/functions.sh | 8 ++++---- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index daceab28..eff8288d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.545 2006/01/31 14:59:14 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.546 2006/02/01 21:09:50 wolf31o2 Exp $ + + 01 Feb 2006; Chris Gianelloni + targets/support/functions.sh: + Removed some quotes to make sure we have a binary operator and closing bug + #117649. 31 Jan 2006; Chris Gianelloni catalyst, targets/support/create-iso.sh: diff --git a/targets/support/functions.sh b/targets/support/functions.sh index 01cea558..a028d2d4 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