diff options
author | 2005-08-10 22:02:34 +0000 | |
---|---|---|
committer | 2005-08-10 22:02:34 +0000 | |
commit | e2facdbfe1b68f843e4df389c40d3422e8fa2f6a (patch) | |
tree | b0d9862589e43a23d06607d6ef0267e6c2fc9221 | |
parent | general seperated out docs/comments/questions/issues (diff) | |
download | portage-cvs-e2facdbfe1b68f843e4df389c40d3422e8fa2f6a.tar.gz portage-cvs-e2facdbfe1b68f843e4df389c40d3422e8fa2f6a.tar.bz2 portage-cvs-e2facdbfe1b68f843e4df389c40d3422e8fa2f6a.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.997 2005/07/29 06:12:19 vapier Exp $ +# $Id: ChangeLog,v 1.998 2005/08/10 22:02:34 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. + 29 Jul 2005; Mike Frysinger <vapier@gentoo.org> bin/prepallman: Rather than use a hardcoded list and bash expansion, let find locate man directories for us. This fixes the issues of running prepman on symlinks diff --git a/bin/quickpkg b/bin/quickpkg index 9cb5c73..961128a 100755 --- a/bin/quickpkg +++ b/bin/quickpkg @@ -1,7 +1,7 @@ #!/bin/bash # Copyright 1999-2005 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.16 2005/04/12 22:37:12 vapier Exp $ +# $Header: /local/data/ulm/cvs/history/var/cvsroot/gentoo-src/portage/bin/quickpkg,v 1.17 2005/08/10 22:02:34 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} |