From: Andrew Gaffney Date: Tue, 19 Feb 2008 19:38:52 +0000 (+0000) Subject: Apply patch from bug 210457 to fix variable substitution. Thanks to Paul Taylor ... X-Git-Tag: v3.4.10.902~150 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=2c41576da4444b88f207192a33cbe5e5af464e65;p=genkernel.git Apply patch from bug 210457 to fix variable substitution. Thanks to Paul Taylor for reporting git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@602 67a159dc-881f-0410-a524-ba9dfbe2cb84 --- diff --git a/ChangeLog b/ChangeLog index f190241..bba35b1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,10 @@ # Copyright 2006-2008 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 19 Feb 2008; Andrew Gaffney generic/initrd.scripts: + Apply patch from bug 210457 to fix variable substitution. Thanks to Paul + Taylor for reporting + 19 Feb 2008; Andrew Gaffney generic/linuxrc: Remove quotes from around ${ROOT_TREES} so that the dirs are parsed separately by bash/cp diff --git a/generic/initrd.scripts b/generic/initrd.scripts index d703b3e..b2e681d 100644 --- a/generic/initrd.scripts +++ b/generic/initrd.scripts @@ -934,6 +934,6 @@ find_loop() { find_looptype() { LOOPTYPE="${LOOP##*.}" [ "${LOOPTYPE}" == "loop" ] && LOOPTYPE="normal" - [ "${LOOP}" == "/zisofs" ] && LOOPTYPE="${LOOP:1}" + [ "${LOOP}" == "/zisofs" ] && LOOPTYPE="${LOOP#/}" [ -z "${LOOPTYPE}" ] && LOOPTYPE="noloop" }