[package-plan] 01/01: Fix regex for new format

Clint Adams clint at moszumanska.debian.org
Fri Oct 28 16:30:50 UTC 2016


This is an automated email from the git hooks/post-receive script.

clint pushed a commit to branch master
in repository package-plan.

commit 7743df6251cb7d9c4ed6f95abc6c599c1d686bfd
Author: Clint Adams <clint at debian.org>
Date:   Fri Oct 28 12:30:27 2016 -0400

    Fix regex for new format
---
 test-packages.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test-packages.pl b/test-packages.pl
index 53aa89d..35ac128 100755
--- a/test-packages.pl
+++ b/test-packages.pl
@@ -107,7 +107,7 @@ print "Reading available versions...\n";
 open AVAILABLE, "-|", "apt-cache dumpavail | grep-dctrl -F GHC-Package -r . -s GHC-Package -n" or die $!;
 while (<AVAILABLE>) {
 	chomp;
-	unless (m/^(.*)-([0-9\.]*)-([a-f0-9]*?)$/) {
+	unless (m/^(.*)-([0-9\.]*)-([A-Za-z0-9]*?)$/) {
 		print "Ignoring unparseable grep-aptavail output line $.: $_\n";
 		$error_count++;
 	}

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-haskell/package-plan.git



More information about the Pkg-haskell-commits mailing list