This fixes the option so that it actually works at all. LP: #728708 Signed-off-by: Guillem Jover <guillem@debian.org>
@@ -43,6 +43,8 @@ dpkg (1.16.0) UNRELEASED; urgency=low
arguments are optionsl.
* Do not read and write the available file unnecessarily.
Thanks to Michel Lespinasse <walken@zoy.org>. Closes: #397121
+ * Fix typo in «dpkg-name --overwrite» argument parsing so that it actually
+ works at all. Thanks to Ivan Gagis <igagis@gmail.com>. LP: #728708
[ Raphaël Hertzog ]
* Fail properly when debian/source/format is empty. Closes: #600854
@@ -233,7 +233,7 @@ while (@ARGV) {
$options{destdir} = shift(@ARGV);
}
} elsif (m/^-o|--overwrite$/) {
- $options{overwite} = 1;
+ $options{overwrite} = 1;
} elsif (m/^-k|--symlink$/) {
$options{symlink} = 1;
} elsif (m/^-a|--no-architecture$/) {