Skip to content
Snippets Groups Projects
Commit 28fd5e32 authored by Benjamin Drung's avatar Benjamin Drung
Browse files

Fix regex problem: arm overrides armhf.

Thanks: hawken <haakonsh@gmail.com>
Closes: #682395
parent 8daaa146
No related branches found
No related tags found
No related merge requests found
Description: Fix regex problem: arm overrides armhf.
Author: hawken <haakonsh@gmail.com>
Bug-Debian: http://bugs.debian.org/682395
--- a/apt-mirror
+++ b/apt-mirror
@@ -253,7 +253,7 @@
next;
}
- if($config_line =~ /deb-(alpha|amd64|armel|arm|armhf|hppa|hurd-i386|i386|ia64|kfreebsd-i386|kfreebsd-amd64|lpia|m68k|mipsel|mips|powerpc|s390|s390x|sh|sparc)/) {
+ if($config_line =~ /^deb-(alpha|amd64|armel|arm|armhf|hppa|hurd-i386|i386|ia64|kfreebsd-i386|kfreebsd-amd64|lpia|m68k|mipsel|mips|powerpc|s390|s390x|sh|sparc)$/) {
push @config_binaries, [$1, @config_line];
next;
}
......@@ -2,3 +2,4 @@ shebang.patch
additional_archs.patch
create_dirs.patch
lock.patch
architecture-match.patch
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment