summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-08-10 22:01:38 +0000
committerMike Frysinger <vapier@gentoo.org>2005-08-10 22:01:38 +0000
commita380d402c7d3366f02624a512c6416e1322a39b2 (patch)
tree2fff15926daca5550a450f5e85f2e6b17bb7bc04
parentdon't stick sys.exit's in ancillary libraries. (diff)
downloadportage-cvs-a380d402c7d3366f02624a512c6416e1322a39b2.tar.gz
portage-cvs-a380d402c7d3366f02624a512c6416e1322a39b2.tar.bz2
portage-cvs-a380d402c7d3366f02624a512c6416e1322a39b2.zip
use gawk instead of awk #102050
-rw-r--r--ChangeLog5
-rwxr-xr-xbin/quickpkg6
2 files changed, 7 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index a08ae59..e59d7f4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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}