[Reproducible-builds] [debhelper] 04/33: dh: Reject unknown parameters that are not dashed command-line parameters intended to be passed on to debhelper commands. Closes: #737635
Jérémy Bobbio
lunar at moszumanska.debian.org
Fri Aug 29 04:34:57 UTC 2014
This is an automated email from the git hooks/post-receive script.
lunar pushed a commit to branch pu/reproducible_builds_fixmtimes
in repository debhelper.
commit c7b1d28e1157c2f14bb3550c41e37bc37a32b70e
Author: Joey Hess <joey at kitenet.net>
Date: Tue Feb 4 13:14:58 2014 -0400
dh: Reject unknown parameters that are not dashed command-line parameters intended to be passed on to debhelper commands. Closes: #737635
Note that dh build -n foo bar will pass -nfoobar to the debhelper command.
I did not try to change that, as it would add significant complication.
---
debian/changelog | 3 +++
dh | 3 +++
2 files changed, 6 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 7eb8d61..e0f5deb 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,9 @@ debhelper (9.20131228) UNRELEASED; urgency=medium
versioned per policy. Closes: #676777
* dh_makeshlibs: Defer propigating dpkg-gensymbols error until
all packages have been processed. Closes: #736640
+ * dh: Reject unknown parameters that are not dashed command-line
+ parameters intended to be passed on to debhelper commands.
+ Closes: #737635
-- Joey Hess <joeyh at debian.org> Sat, 25 Jan 2014 15:49:45 -0400
diff --git a/dh b/dh
index faa82b9..f3bd321 100755
--- a/dh
+++ b/dh
@@ -587,6 +587,9 @@ while (@ARGV_orig) {
$options[$#options].=$opt;
}
}
+ else {
+ error "Unknown parameter: $opt";
+ }
}
# Figure out at what point in the sequence to start for each package.
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/debhelper.git
More information about the Reproducible-builds
mailing list