plan9port

fork of plan9port with libvec, libstr and libsdb
Log | Files | Refs | README | LICENSE

commit 7c024ff2d8004a19c5664f54df5d459cb0dad068
parent 28c158a5f5980722e8fa287b095c896617ba546c
Author: rsc <devnull@localhost>
Date:   Tue, 13 Sep 2005 04:23:42 +0000

bin

Diffstat:
Mdist/debian/mkpkg | 7+++++--
1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/dist/debian/mkpkg b/dist/debian/mkpkg @@ -60,7 +60,10 @@ for(i)@{ echo Maintainer: 'Russ Cox <rsc@swtch.com>' echo Description: $desc } >$i/DEBIAN/control - awk -v'pkg='$grepfor -v 'plan9='$TREE9 '$2==pkg { + whatis grepfor + awk -v'grepfor='$grepfor -v 'pkg='$i -v 'plan9='$TREE9 ' + BEGIN { print "grep for " grepfor >"/dev/stderr" } + $2==grepfor { dir=$1 sub("/[^/]+$", "/", dir) if(dir != lastdir){ @@ -69,7 +72,7 @@ for(i)@{ } if($1 !~ /\/$/) printf("cp ''%s'' ''%s''\n", plan9 "/" $1, pkg "/usr/local/plan9/" $1) - }' $TREE9/dist/filelist |rc + }' $TREE9/dist/filelist | rc if(test -d $i/usr){ @{ cd $i