[SCM] pkg-kde repository scripts branch, master, updated. 64e7afeadc943301d646fb47c14aeba6ee370adf

Modestas Vainius modax at alioth.debian.org
Sun Mar 18 13:59:53 UTC 2012


The following commit has been merged in the master branch:
commit 64e7afeadc943301d646fb47c14aeba6ee370adf
Author: Modestas Vainius <modax at debian.org>
Date:   Sun Mar 18 13:54:55 2012 +0000

    Fix arch regexp (all any) in reprepro-html-index.
---
 reprepro-html-index |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/reprepro-html-index b/reprepro-html-index
index 36e971f..aeb550d 100755
--- a/reprepro-html-index
+++ b/reprepro-html-index
@@ -229,7 +229,7 @@ sub read_all_packages {
 
 	while (my $str = $reprepro->readline()) {
 		my $pkg = KdeTrunk::Pkg->parse($str,qw{
-			(?<arch>\S+)
+			(?<arch>[^\x1E]+)
 			(?:(?<source>\S+)(?:\s+\((?<version>\S+)\))?)?
 			(?<path>\S+)?
 		});
@@ -237,7 +237,7 @@ sub read_all_packages {
 			$pkgs{$pkg->get_id()} = $pkg;
 			push @{$bysource{$pkg->get_source()}}, $pkg if $pkg->get_source();
 		} else {
-			die "Unable to parse reprepro output";
+			die "Unable to parse reprepro output $str";
 		}
 	}
 	$self->{allpkgs} = \%pkgs;

-- 
pkg-kde repository scripts



More information about the pkg-kde-commits mailing list