git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@602
67a159dc-881f-0410-a524-
ba9dfbe2cb84
# Copyright 2006-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 19 Feb 2008; Andrew Gaffney <agaffney@gentoo.org> generic/initrd.scripts:
+ Apply patch from bug 210457 to fix variable substitution. Thanks to Paul
+ Taylor <birder@ozemail.com.au> for reporting
+
19 Feb 2008; Andrew Gaffney <agaffney@gentoo.org> generic/linuxrc:
Remove quotes from around ${ROOT_TREES} so that the dirs are parsed
separately by bash/cp
find_looptype() {
LOOPTYPE="${LOOP##*.}"
[ "${LOOPTYPE}" == "loop" ] && LOOPTYPE="normal"
- [ "${LOOP}" == "/zisofs" ] && LOOPTYPE="${LOOP:1}"
+ [ "${LOOP}" == "/zisofs" ] && LOOPTYPE="${LOOP#/}"
[ -z "${LOOPTYPE}" ] && LOOPTYPE="noloop"
}