summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorobache <obache>2013-03-17 15:27:18 +0000
committerobache <obache>2013-03-17 15:27:18 +0000
commit05735dbd504a60aecabbab3dbfacd02057fdf809 (patch)
tree15869fc0e88e97b418b060875101fb37bd52c99b /pkgtools
parentf3ea29b9c186535f1abaca0e25aa956ba21f1f98 (diff)
downloadpkgsrc-05735dbd504a60aecabbab3dbfacd02057fdf809.tar.gz
avoid to match commnented out lines (createbuildlink will create such lines
by default).
Diffstat (limited to 'pkgtools')
-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;