# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.439 2005/12/08 22:23:31 rocket Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.440 2005/12/08 22:24:25 wolf31o2 Exp $
+
+ 08 Dec 2005; Chris Gianelloni <wolf31o2@gentoo.org>
+ targets/support/chroot-functions.sh:
+ Fixes 'too many arguments' error in check_portage_version.
08 Dec 2005; Eric Edgar <rocket@gentoo.org>
modules/generic_stage_target.py:
trap "echo SIGINT signal recieved killing $0 with pid $$;kill -9 $$" SIGINT
check_portage_version(){
- portage_version=`/usr/lib/portage/bin/portageq best_version / sys-apps/portage \
- | cut -d/ -f2 | cut -d- -f2,3`
- if [ -n ${portage_version} -a `echo ${portage_version} | cut -d- -f1 | cut -d. -f3` -lt '51' ]
+ portage_version=`/usr/lib/portage/bin/portageq best_version / \
+ sys-apps/portage | cut -d/ -f2 | cut -d- -f2,3`
+ if [ -n "${portage_version}" -a `echo ${portage_version} | cut -d- -f1 \
+ | cut -d. -f3` -lt '51' ]
then
echo "ERROR: Your portage version is too low in your seed stage. Portage version"
echo "2.0.51 or greater is required."