Fix up xdigit regex to cope with new match code

This commit is contained in:
Steve McIntyre 2013-01-22 23:45:23 +00:00
parent 513f8c1191
commit f7269f8b4f
1 changed files with 1 additions and 1 deletions

View File

@ -1312,7 +1312,7 @@ sub add_packages {
$source = $security;
}
# Explicitly use the md5 lines in the Sources stanza, hence the xdigit(32) here
while (/^ ([[:xdigit:]]{32}) (\d+) (\S+)/msg) {
while ($package_info =~ /^ ([[:xdigit:]]{32}) (\d+) (\S+)/msg) {
push(@files, "$pdir/$3");
}
} else {