summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-10-18 05:34:59 +0000
committerZac Medico <zmedico@gentoo.org>2009-10-18 05:34:59 +0000
commit7511b3776e4fb410042caed74fee6d64f60271ca (patch)
tree6dd904e40689e33775aa25a176e5d79cb004826d
parentb111836664e3962b37b524d9898a7927290d609b (diff)
downloadportage-7511b3776e4fb410042caed74fee6d64f60271ca.tar.gz
portage-7511b3776e4fb410042caed74fee6d64f60271ca.tar.bz2
portage-7511b3776e4fb410042caed74fee6d64f60271ca.zip
Fix breakage in DEFINED_PHASES code.
svn path=/main/trunk/; revision=14664
-rwxr-xr-xbin/ebuild.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh
index 4fa19f300..6687c8257 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=-