summaryrefslogtreecommitdiff
path: root/pkgtools/revbump
diff options
context:
space:
mode:
authormef <mef@pkgsrc.org>2015-01-08 13:35:59 +0000
committermef <mef@pkgsrc.org>2015-01-08 13:35:59 +0000
commit79888eb2996d6ca4d5fbb6bdad9042e338bcc418 (patch)
tree095a567164f7b736fc5547e34a9f0dcefa20afae /pkgtools/revbump
parent3731caa8cf18ed9075ccf9d6cc05b8298973869a (diff)
downloadpkgsrc-79888eb2996d6ca4d5fbb6bdad9042e338bcc418.tar.gz
Correction on grammer on comments. Adjust Tabbings, remove trailing white-space. No logic change.
Diffstat (limited to 'pkgtools/revbump')
-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 =~ /\${([^}]+)}/ ) {