tbin - plan9port - [fork] Plan 9 from user space
 (HTM) git clone git://src.adamsgaard.dk/plan9port
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 7c024ff2d8004a19c5664f54df5d459cb0dad068
 (DIR) parent 28c158a5f5980722e8fa287b095c896617ba546c
 (HTM) Author: rsc <devnull@localhost>
       Date:   Tue, 13 Sep 2005 04:23:42 +0000
       
       bin
       
       Diffstat:
         M dist/debian/mkpkg                   |       7 +++++--
       
       1 file changed, 5 insertions(+), 2 deletions(-)
       ---
 (DIR) diff --git a/dist/debian/mkpkg b/dist/debian/mkpkg
       t@@ -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){
       t@@ -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