diff options
author | dmcmahill <dmcmahill@pkgsrc.org> | 2001-02-23 11:18:29 +0000 |
---|---|---|
committer | dmcmahill <dmcmahill@pkgsrc.org> | 2001-02-23 11:18:29 +0000 |
commit | 9dd3d1026d2b033c3540b9bb9cbd45b9917eb6a7 (patch) | |
tree | 60c03b7c822d486c3ed7cd4b4f81968b5dd86b30 /mk/bulk/post-build | |
parent | c1618cc152994649a815f12d7a8c72e476e4cd76 (diff) | |
download | pkgsrc-9dd3d1026d2b033c3540b9bb9cbd45b9917eb6a7.tar.gz |
make the column headings line up a little better. Patch from Hubert.
Diffstat (limited to 'mk/bulk/post-build')
-rw-r--r-- | mk/bulk/post-build | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mk/bulk/post-build b/mk/bulk/post-build index 414957f9041..6de281d01b0 100644 --- a/mk/bulk/post-build +++ b/mk/bulk/post-build @@ -1,5 +1,5 @@ #!/usr/pkg/bin/perl -# $NetBSD: post-build,v 1.10 2001/02/08 19:17:38 dmcmahill Exp $ +# $NetBSD: post-build,v 1.11 2001/02/23 11:18:29 dmcmahill Exp $ # # Collect stuff after a pkg bulk build # @@ -48,7 +48,7 @@ if ($verbose) { print "*** NetBSD $osrev/$arch\n"; print "*** Result of bulk pkgsrc build as of $date:\n"; print "\n"; - print "Pkg\tState\tPkgs broken by\t(last modified by, maintainer)\n" + printf ("%-23s State \tPkgs broken by\t(last modified, maintainer)\n","Pkg"); } system("mkdir -p ${FTP}"); @@ -136,11 +136,11 @@ while (<BF>) { if ($nerrors != 0) { if ($nbrokenby > 0){ - printf("%-23s $state\t$nbrokenby\t($who, $maintainer)\n", "$pkg:") + printf("%-23s $state\t%-13d\t($who, $maintainer)\n", "$pkg:",$nbrokenby) if $verbose; } else { - printf("%-23s $state\t \t($who, $maintainer)\n", "$pkg:") + printf("%-23s $state\t%-13s\t($who, $maintainer)\n", "$pkg:","") if $verbose; } |