[pbuilder] 02/02: pdebuild-checkparams: reinstate support for --debbuildopts in pdebuild itself, and print an informative message that it is deprecated

Mattia Rizzolo mattia at debian.org
Tue Jan 17 10:30:23 UTC 2017


This is an automated email from the git hooks/post-receive script.

mattia pushed a commit to branch master
in repository pbuilder.

commit 4a9b41167277f21eea640902b7e5524ab7acfc76
Author: Mattia Rizzolo <mattia at debian.org>
Date:   Tue Jan 17 11:26:37 2017 +0100

    pdebuild-checkparams: reinstate support for --debbuildopts in pdebuild itself, and print an informative message that it is deprecated
    
    Closes: #851640
---
 pdebuild-checkparams | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/pdebuild-checkparams b/pdebuild-checkparams
index ed845b5..83b0122 100644
--- a/pdebuild-checkparams
+++ b/pdebuild-checkparams
@@ -43,7 +43,8 @@ while [ -n "$1" ]; do
 	    ;;
 	--debbuildopts)
         # deprecated since v0.228
-        # wait some more before nagging about its deprecation
+        DEBBUILDOPTS="${2:+$DEBBUILDOPTS $2}";
+        log.i "Passing --debbuildopts as a pdebuild option is deprecated; pass it after '--'."
 	    shift; shift;
 	    ;;
 	--configfile)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pbuilder/pbuilder.git



More information about the Pbuilder-maint mailing list