diff options
author | 2005-08-10 22:01:38 +0000 | |
---|---|---|
committer | 2005-08-10 22:01:38 +0000 | |
commit | a380d402c7d3366f02624a512c6416e1322a39b2 (patch) | |
tree | 2fff15926daca5550a450f5e85f2e6b17bb7bc04 | |
parent | don't stick sys.exit's in ancillary libraries. (diff) | |
download | portage-cvs-a380d402c7d3366f02624a512c6416e1322a39b2.tar.gz portage-cvs-a380d402c7d3366f02624a512c6416e1322a39b2.tar.bz2 portage-cvs-a380d402c7d3366f02624a512c6416e1322a39b2.zip |
use gawk instead of awk #102050
-rw-r--r-- | ChangeLog | 5 | ||||
-rwxr-xr-x | bin/quickpkg | 6 |
2 files changed, 7 insertions, 4 deletions
@@ -1,12 +1,15 @@ # ChangeLog for Portage; the Gentoo Linux ports system # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Id: ChangeLog,v 1.796.2.142 2005/08/09 11:25:44 ferringb Exp $ +# $Id: ChangeLog,v 1.796.2.143 2005/08/10 22:01:38 vapier Exp $ MAJOR CHANGES in 2.0.51: 1. /var/cache/edb/virtuals is no longer used at all. It's calculated now. 2. /var/cache/edb/world is now /var/lib/portage/world. 3. /etc/portage/profile/virtuals is _USER_ configs only. + 10 Aug 2005; Mike Frysinger <vapier@gentoo.org> bin/quickpkg: + Call gawk instead of awk so non-GNU systems work #102050 by Stephen Bennett. + 08 Aug 2005; Brian Harring <ferringb@gentoo.org> bin/ebuild.sh: fixed bug #101035 , basically checking pipestatus during unpack for piped unpacks. diff --git a/bin/quickpkg b/bin/quickpkg index 975b941..33f4c74 100755 --- a/bin/quickpkg +++ b/bin/quickpkg @@ -1,7 +1,7 @@ #!/bin/bash # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /local/data/ulm/cvs/history/var/cvsroot/gentoo-src/portage/bin/quickpkg,v 1.13.2.4 2005/01/30 11:33:02 jstubbs Exp $ +# $Header: /local/data/ulm/cvs/history/var/cvsroot/gentoo-src/portage/bin/quickpkg,v 1.13.2.5 2005/08/10 22:01:38 vapier Exp $ # This script tries to quickly create a Gentoo binary package using the # VDB_PATH/category/pkg/* files @@ -59,7 +59,7 @@ do_pkg() { cp ${SRCDIR}/* ${MYDIR}/temp/ # create filelist and a basic tbz2 - awk '{ + gawk '{ if ($1 != "dir") { if ($1 == "obj") NF=NF-2 @@ -86,7 +86,7 @@ do_pkg() { if [ -e ${PKGDIR}/All/$1.tbz2 ] ; then rm -f ${LOG} - PKGSTATS="${PKGSTATS}"$'\n'"$(einfo $1: `ls -alh ${PKGDIR}/All/$1.tbz2 | awk '{print $5}'`)" + PKGSTATS="${PKGSTATS}"$'\n'"$(einfo $1: `ls -alh ${PKGDIR}/All/$1.tbz2 | gawk '{print $5}'`)" eend 0 else cat ${LOG} |