no problems with 'pkg_src_summary -A' + paexec

Latest paexec-0.9.0 is required
version -> 0.11.1
This commit is contained in:
Aleksey Cheusov 2008-06-15 13:42:36 +00:00 committed by Thomas Klausner
parent 5f2f5e485c
commit 1549b5ac3e
3 changed files with 4 additions and 8 deletions

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.14 2008/06/10 21:32:24 cheusov Exp $
# $NetBSD: Makefile,v 1.15 2008/06/15 13:42:36 cheusov Exp $
DISTNAME= pkg_summary-utils-${VERSION}
CATEGORIES= pkgtools
@ -10,7 +10,7 @@ HOMEPAGE= http://www.mova.org/~cheusov/pub/pkg_summary-utils/
COMMENT= Utilities for manipulating pkg_summary(5) files
DEPENDS+= runawk>=0.12.1:../../wip/runawk
DEPENDS+= paexec>=0.8.0:../../wip/paexec
DEPENDS+= paexec>=0.9.0:../../wip/paexec
DEPENDS+= awk-pkgsrc-dewey>=0.5.6:../../wip/awk-pkgsrc-dewey
DEPENDS+= pipestatus-[0-9]*:../../wip/pipestatus

View file

@ -1 +1 @@
VERSION= 0.11.0
VERSION= 0.11.1

View file

@ -304,16 +304,12 @@ restore_order (){
partial_summary_fn=$tmp_dir/partial_summary.txt
if test "$PSS_SLAVES"; then
if test "$PSS_TRANSPORT"; then
PSS_TRANSPORT="-t $PSS_TRANSPORT"
fi
qfields="$(echo $PSS_FIELDS | sed 's| |,|g')"
environ="PSS_SLAVES= BMAKE=$BMAKE CKSUM=$CKSUM PKGSRCDIR=$PKGSRCDIR"
runpipe0 \
packages2stdout $pkgpaths '|' \
paexec -l -n "$PSS_SLAVES" $PSS_TRANSPORT \
paexec -l -n "$PSS_SLAVES" -t "$PSS_TRANSPORT" \
-c "env $environ $0 -s -f '$qfields'" > "$tempsummaryfn"
restore_order < "$tempsummaryfn" > "$partial_summary_fn"