[pkg-perl-tools] 01/02: check-build: Strip as well udebs when choosing to strip arch:any .debs

Salvatore Bonaccorso carnil at debian.org
Thu Apr 23 17:42:30 UTC 2015


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

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

commit 54813923f59aff20ac75753a08e1fa0c940345b7
Author: Salvatore Bonaccorso <carnil at debian.org>
Date:   Thu Apr 23 19:40:28 2015 +0200

    check-build: Strip as well udebs when choosing to strip arch:any .debs
---
 examples/check-build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/examples/check-build b/examples/check-build
index 8e7adeb..0b00b66 100755
--- a/examples/check-build
+++ b/examples/check-build
@@ -121,7 +121,7 @@ else
 			read -n 1 -p "strip arch:any .debs? y/N " STRIPARCHANY
 			if [ "$STRIPARCHANY" = "y" ]; then
 				ALLONLYCHANGES="${CHANGES%%_$ARCH.changes}_allonly.changes"
-				sed "/_$ARCH\.deb/ d" "$CHANGES" > "$ALLONLYCHANGES"
+				sed --regexp-extended "/_$ARCH\.u?deb/ d" "$CHANGES" > "$ALLONLYCHANGES"
 				perl -pi -e "s,^Architecture: source $ARCH$,Architecture: source," "$ALLONLYCHANGES"
 				debsign "$ALLONLYCHANGES"
 				echo

-- 
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