bin
This commit is contained in:
parent
28c158a5f5
commit
7c024ff2d8
1 changed files with 5 additions and 2 deletions
5
dist/debian/mkpkg
vendored
5
dist/debian/mkpkg
vendored
|
|
@ -60,7 +60,10 @@ for(i)@{
|
||||||
echo Maintainer: 'Russ Cox <rsc@swtch.com>'
|
echo Maintainer: 'Russ Cox <rsc@swtch.com>'
|
||||||
echo Description: $desc
|
echo Description: $desc
|
||||||
} >$i/DEBIAN/control
|
} >$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
|
dir=$1
|
||||||
sub("/[^/]+$", "/", dir)
|
sub("/[^/]+$", "/", dir)
|
||||||
if(dir != lastdir){
|
if(dir != lastdir){
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue