[pkg-perl-tools] 01/07: examples/buildpackage-pdebuild: add -p option

gregor herrmann gregoa at debian.org
Sat Apr 4 18:43:33 UTC 2015


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

gregoa pushed a commit to branch master
in repository pkg-perl-tools.

commit 21efb90f5d83ae509913f1d5bdd7196703383b08
Author: gregor herrmann <gregoa at debian.org>
Date:   Sat Apr 4 20:22:07 2015 +0200

    examples/buildpackage-pdebuild: add -p option
    
    which sets DEB_BUILD_OPTIONS='nostrip'.
---
 examples/buildpackage-pdebuild | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/examples/buildpackage-pdebuild b/examples/buildpackage-pdebuild
index 9ebf599..ced8641 100755
--- a/examples/buildpackage-pdebuild
+++ b/examples/buildpackage-pdebuild
@@ -40,10 +40,11 @@ ME="$(basename $0)"
 # v = -vX,
 # t = notest,
 # n = noopt
+# p = nostrip
 # h = hardening,
 # d = DH_VERBOSE
 # H = hookdir
-while getopts D:bSj:siwv:tnhdH: O; do
+while getopts D:bSj:siwv:tnphdH: O; do
 	case "$O" in
 		# pbuilder example
 		#P)
@@ -88,6 +89,9 @@ while getopts D:bSj:siwv:tnhdH: O; do
 		n)
 			DEB_BUILD_OPTIONS="$DEB_BUILD_OPTIONS noopt"
 			;;
+		p)
+			DEB_BUILD_OPTIONS="$DEB_BUILD_OPTIONS nostrip"
+			;;
 		h)
 			export DEB_BUILD_HARDENING=1
 			;;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/pkg-perl-tools.git



More information about the Pkg-perl-cvs-commits mailing list