This commit is contained in:
rsc 2005-09-13 04:23:42 +00:00
parent 28c158a5f5
commit 7c024ff2d8

5
dist/debian/mkpkg vendored
View file

@ -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){