]> err.no Git - dpkg/commitdiff
* scripts/dpkg-source.pl: Add a missing '+' in the architecture
authorGuillem Jover <guillem@debian.org>
Mon, 23 Jan 2006 01:53:25 +0000 (01:53 +0000)
committerGuillem Jover <guillem@debian.org>
Mon, 23 Jan 2006 01:53:25 +0000 (01:53 +0000)
validator regex.

ChangeLog
scripts/dpkg-source.pl

index 94c9e974370295be8b252c233cd70ef96391756b..d955602069834e6b85c4099e5891e991c466c51c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-01-23  Guillem Jover  <guillem@debian.org>
+
+       * scripts/dpkg-source.pl: Add a missing '+' in the architecture
+       validator regex.
+
 2006-01-23  Bart Martens  <bart.martens@advalvas.be>,
            Guillem Jover  <guillem@debian.org>
 
index 2c52a46d505c41f5c902d713370c5674ad47e151..6a020ad92e127859cd8668cf039cf1b734e2fd86 100755 (executable)
@@ -197,7 +197,7 @@ if ($opmode eq 'build') {
                    } else {
                         for $a (split(/\s+/,$v)) {
                            &error("`$a' is not a legal architecture string")
-                               unless $a =~ /^[\w-]$/;
+                               unless $a =~ /^[\w-]+$/;
                             &error("architecture $a only allowed on its own".
                                    " (list for package $p is `$a')")
                                    if grep($a eq $_, 'any','all');