summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authormef <mef>2015-01-08 13:35:59 +0000
committermef <mef>2015-01-08 13:35:59 +0000
commitb687e216b49f09437f860b9a195fe9d092e212ba (patch)
tree095a567164f7b736fc5547e34a9f0dcefa20afae /pkgtools
parent01fc52d8718fc8e79852e154c16ecb1ba99583c4 (diff)
downloadpkgsrc-b687e216b49f09437f860b9a195fe9d092e212ba.tar.gz
Correction on grammer on comments. Adjust Tabbings, remove trailing white-space. No logic change.
Diffstat (limited to 'pkgtools')
-rw-r--r--pkgtools/revbump/files/replace-commonbump16
1 files changed, 8 insertions, 8 deletions
diff --git a/pkgtools/revbump/files/replace-commonbump b/pkgtools/revbump/files/replace-commonbump
index b1eae8924bd..61dd1f53b9a 100644
--- a/pkgtools/revbump/files/replace-commonbump
+++ b/pkgtools/revbump/files/replace-commonbump
@@ -83,7 +83,7 @@ sub GenerateHash ($$) {
my $dir = $File::Find::dir ;
my $fname = "$File::Find::dir/$_" ;
- # skip these directories and files ( as a files including something )
+ # skip these directories and files ( as files including something )
if ($dir =~ m|CVS$| ) {$File::Find::prune = 1; return;}
if ($dir =~ m|mk$| ) {$File::Find::prune = 1; return;}
if ($dir =~ m|work$| ) {$File::Find::prune = 1; return;}
@@ -91,7 +91,7 @@ sub GenerateHash ($$) {
if ($dir =~ m|files$| ) {$File::Find::prune = 1; return;}
if ($dir =~ m|bootstrap$| ) {$File::Find::prune = 1; return;}
if ($dir =~ m|pkgsrc/[^/]$| ) {$File::Find::prune = 1; return;}
- if ($dir =~ m|x11-links| ){$File::Find::prune = 1; return;}
+ if ($dir =~ m|x11-links| ) {$File::Find::prune = 1; return;}
if ($_ =~ m|^\.\#| ) { return;}
if ($_ =~ m|~$| ) { return;}
if ($_ =~ m|buildlink3.mk$| ) { return;}
@@ -102,24 +102,24 @@ sub GenerateHash ($$) {
my($shortdir) = $dir;
$shortdir =~ s|$prefix/||;
- # pick only Makefile.* and .mk ( as a files including something )
+ # pick only Makefile.* and .mk ( as files including something )
if ($_ =~ m|Makefile| ||
$_ =~ m|\.mk$| ) {
print STDERR __LINE__, ' ', $fname,' ', `pwd`, "\n" if $debug;
open(FNAME, $fname) || print STDERR __LINE__, " Problem opening file $fname:$!\n";
my ($included) = '';
while (<FNAME>){
- # now starts finding included file
+ # now starts finding included file
# pick .include "../../
if ( m|^\.\s*include\s+\"\.\./\.\./(.*)\"| ) { $included = $1;}
# pick ".include "Makefile" etc (without leading ../../), this needs to add package dir.
- if ( m|^\.\s*include\s+\"(.*)\"| ) { next;} # including the same directory stuff, doesn't matter
- if ( m|^\.\s*include\s+\"(.*)\"| ) { $included = $prefix .'/'. $1;}
- if ( $included =~ m|/mk/| ) { next;} # it is include line but for mk, skip this line
+ if ( m|^\.\s*include\s+\"(.*)\"| ) { next;} # including the same directory stuff, doesn't matter
+ if ( m|^\.\s*include\s+\"(.*)\"| ) { $included = $prefix .'/'. $1;}
+ if ( $included =~ m|/mk/| ) { next;} # it is include line but for mk, skip this line
if ( $included =~ m|version.mk| ) { next;}
if ( $included =~ m|tests/| ) { next;}
if ( $included =~ m|options.mk| ) { next;}
- if ( $included =~ m|enigmail.mk| ) { next;}
+ if ( $included =~ m|enigmail.mk| ) { next;}
$included =~ s,\${.CURDIR},$shortname,;
if ($included =~ /\${([^}]+)}/ ) {