From 6decabb17a07ecca4f003919bdc92ed4194d3217 Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Mon, 23 Jan 2006 01:53:25 +0000 Subject: [PATCH] * scripts/dpkg-source.pl: Add a missing '+' in the architecture validator regex. --- ChangeLog | 5 +++++ scripts/dpkg-source.pl | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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'); -- 2.39.5