From: Guillem Jover Date: Mon, 23 Jan 2006 01:53:25 +0000 (+0000) Subject: * scripts/dpkg-source.pl: Add a missing '+' in the architecture X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6decabb17a07ecca4f003919bdc92ed4194d3217;p=dpkg * scripts/dpkg-source.pl: Add a missing '+' in the architecture validator regex. --- diff --git a/ChangeLog b/ChangeLog index 94c9e974..d9556020 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-01-23 Guillem Jover + + * scripts/dpkg-source.pl: Add a missing '+' in the architecture + validator regex. + 2006-01-23 Bart Martens , Guillem Jover diff --git a/scripts/dpkg-source.pl b/scripts/dpkg-source.pl index 2c52a46d..6a020ad9 100755 --- a/scripts/dpkg-source.pl +++ b/scripts/dpkg-source.pl @@ -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');