summaryrefslogtreecommitdiff
path: root/pkgtools/revbump
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2013-03-17 15:27:18 +0000
committerobache <obache@pkgsrc.org>2013-03-17 15:27:18 +0000
commit4415950d6b68f56c4e538d385d78c02caa4bca29 (patch)
tree15869fc0e88e97b418b060875101fb37bd52c99b /pkgtools/revbump
parent996b1ad488f759313528ee88ba5b39a635e5215a (diff)
downloadpkgsrc-4415950d6b68f56c4e538d385d78c02caa4bca29.tar.gz
avoid to match commnented out lines (createbuildlink will create such lines
by default).
Diffstat (limited to 'pkgtools/revbump')
-rw-r--r--pkgtools/revbump/files/finddepends4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgtools/revbump/files/finddepends b/pkgtools/revbump/files/finddepends
index 60f02fadeb1..d03132bee7d 100644
--- a/pkgtools/revbump/files/finddepends
+++ b/pkgtools/revbump/files/finddepends
@@ -1,7 +1,7 @@
#!@PERL@ -w
# -*- perl -*-
#
-# $NetBSD: finddepends,v 1.6 2012/06/13 11:39:33 obache Exp $
+# $NetBSD: finddepends,v 1.7 2013/03/17 15:27:18 obache Exp $
#
# Copyright (c) 2006 The NetBSD Foundation, Inc.
#
@@ -77,7 +77,7 @@ foreach $bl3 (@bl3files) {
$content = "";
while (<OUT>) {
chomp($_);
- $content .= $_;
+ $content .= $_ unless $_ =~ m"^#";
}
close OUT;
$bl3content{$bl3} = $content;