summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2006-01-23 01:53:25 +0000
committerGuillem Jover <guillem@debian.org>2006-01-23 01:53:25 +0000
commit6decabb17a07ecca4f003919bdc92ed4194d3217 (patch)
tree750432a47f844da5fa49401b924581358a68864d /scripts
parentc0fd1ee1ef4a981eefdabf0142035f7e32038343 (diff)
downloaddpkg-6decabb17a07ecca4f003919bdc92ed4194d3217.tar.gz
* scripts/dpkg-source.pl: Add a missing '+' in the architecture
validator regex.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/dpkg-source.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/dpkg-source.pl b/scripts/dpkg-source.pl
index 2c52a46d5..6a020ad92 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');