From: Zac Medico Date: Mon, 19 Oct 2009 03:37:02 +0000 (-0000) Subject: Fix breakage in DEFINED_PHASES code. (trunk r14664) X-Git-Tag: v2.1.7.2~29 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d47feac9df36d524568f24e291123501117aab13;p=portage.git Fix breakage in DEFINED_PHASES code. (trunk r14664) svn path=/main/branches/2.1.7/; revision=14684 --- diff --git a/bin/ebuild.sh b/bin/ebuild.sh index d9c055d27..14a311c61 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -1875,8 +1875,8 @@ if ! hasq "$EBUILD_PHASE" clean cleanrm ; then DEFINED_PHASES= for _f in $_valid_phases ; do if declare -F $_f >/dev/null ; then - f=${f#pkg_} - DEFINED_PHASES+=" ${f#src_}" + _f=${_f#pkg_} + DEFINED_PHASES+=" ${_f#src_}" fi done [[ -n $DEFINED_PHASES ]] || DEFINED_PHASES=-