pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/pkgtools/revbump 1.8:
details: https://anonhg.NetBSD.org/pkgsrc/rev/f3bff0d6d0b2
branches: trunk
changeset: 515945:f3bff0d6d0b2
user: wiz <wiz%pkgsrc.org@localhost>
date: Tue Jul 11 12:52:14 2006 +0000
description:
1.8:
finddepends: Quote package names when they are used as patterns.
Based on an idea by dillo.
diffstat:
pkgtools/revbump/Makefile | 5 ++---
pkgtools/revbump/files/finddepends | 6 +++---
2 files changed, 5 insertions(+), 6 deletions(-)
diffs (43 lines):
diff -r 0652b30a757d -r f3bff0d6d0b2 pkgtools/revbump/Makefile
--- a/pkgtools/revbump/Makefile Tue Jul 11 12:51:34 2006 +0000
+++ b/pkgtools/revbump/Makefile Tue Jul 11 12:52:14 2006 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.11 2006/05/06 03:38:06 reed Exp $
-#
+# $NetBSD: Makefile,v 1.12 2006/07/11 12:52:14 wiz Exp $
-DISTNAME= revbump-1.7
+DISTNAME= revbump-1.8
CATEGORIES= pkgtools
MASTER_SITES= # empty
DISTFILES= # empty
diff -r 0652b30a757d -r f3bff0d6d0b2 pkgtools/revbump/files/finddepends
--- a/pkgtools/revbump/files/finddepends Tue Jul 11 12:51:34 2006 +0000
+++ b/pkgtools/revbump/files/finddepends Tue Jul 11 12:52:14 2006 +0000
@@ -1,7 +1,7 @@
#!@PERL@ -w
# -*- perl -*-
#
-# $NetBSD: finddepends,v 1.4 2006/04/13 18:58:17 wiz Exp $
+# $NetBSD: finddepends,v 1.5 2006/07/11 12:52:14 wiz Exp $
#
# Copyright (c) 2006 The NetBSD Foundation, Inc.
#
@@ -88,7 +88,7 @@
# print "* Looking for $pattern\n";
for $key (keys %bl3content) {
# print "searching $key ($bl3content{$key})\n\n";
- if ($bl3content{$key} =~ m/$pattern/) {
+ if ($bl3content{$key} =~ m/\Q$pattern/) {
# print "\n\n ******** MATCH $key \n\n";
# print "** $pattern found in $key\n";
# print "** BUMP $key\n";
@@ -120,7 +120,7 @@
close OUT;
$found = 0;
for $pattern (@bl3result) {
- if ($content =~ m/$pattern/) {
+ if ($content =~ m/\Q$pattern/) {
$found = 1;
last;
}
Home |
Main Index |
Thread Index |
Old Index