diff options
author | Guillem Jover <guillem@debian.org> | 2006-01-23 01:53:25 +0000 |
---|---|---|
committer | Guillem Jover <guillem@debian.org> | 2006-01-23 01:53:25 +0000 |
commit | 6decabb17a07ecca4f003919bdc92ed4194d3217 (patch) | |
tree | 750432a47f844da5fa49401b924581358a68864d /scripts | |
parent | c0fd1ee1ef4a981eefdabf0142035f7e32038343 (diff) | |
download | dpkg-6decabb17a07ecca4f003919bdc92ed4194d3217.tar.gz |
* scripts/dpkg-source.pl: Add a missing '+' in the architecture
validator regex.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/dpkg-source.pl | 2 |
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'); |