[Reproducible-commits] [dpkg] 08/32: dpkg-name: Fix typo in --overwrite argument parsing
Holger Levsen
holger at layer-acht.org
Tue May 3 08:43:12 UTC 2016
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to annotated tag 1.15.10
in repository dpkg.
commit de3dcef863d389af305009bbd12862c537be99e4
Author: Ivan Gagis <igagis at gmail.com>
Date: Wed Mar 9 05:18:09 2011 +0100
dpkg-name: Fix typo in --overwrite argument parsing
Cherry picked from commit 8a910bc7aadd0525fe24b14c8d6249f77bba15b7.
This fixes the option so that it actually works at all.
LP: #728708
Signed-off-by: Guillem Jover <guillem at debian.org>
---
debian/changelog | 2 ++
scripts/dpkg-name.pl | 2 +-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index b1821d5..d9d01ca 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,8 @@ dpkg (1.15.8.11) UNRELEASED; urgency=low
* Do not segfault on “dpkg -i --no-act”.
* Add missing semicolon to the vsnprintf() compat declaration.
Thanks to Robert Millan. Closes: #612203
+ * Fix typo in «dpkg-name --overwrite» argument parsing so that it actually
+ works at all. Thanks to Ivan Gagis <igagis at gmail.com>. LP: #728708
[ Raphaël Hertzog ]
* Fix a regression in dpkg-divert where using --rename led to a failure when
diff --git a/scripts/dpkg-name.pl b/scripts/dpkg-name.pl
index 6745ac1..30c1aa6 100755
--- a/scripts/dpkg-name.pl
+++ b/scripts/dpkg-name.pl
@@ -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$/) {
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/dpkg.git
More information about the Reproducible-commits
mailing list