Kaynağa Gözat

* scripts/dpkg-source.pl: Add a missing '+' in the architecture
validator regex.

Guillem Jover 20 yıl önce
ebeveyn
işleme
6decabb17a
2 değiştirilmiş dosya ile 6 ekleme ve 1 silme
  1. 5 0
      ChangeLog
  2. 1 1
      scripts/dpkg-source.pl

+ 5 - 0
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>
 

+ 1 - 1
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');