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 1bd2a9a230c740fe91640a5d03621079a1bc4bf1
Author: gregor herrmann <gre...@debian.org>
Date:   Mon Aug 10 15:45:32 2015 +0200

    examples/check-build: use mergechanges for sourceless uploads
    
    instead of manually messing with the .changes file.
---
 examples/check-build | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/examples/check-build b/examples/check-build
index 0b00b66..f1e3e1e 100755
--- a/examples/check-build
+++ b/examples/check-build
@@ -121,8 +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 --regexp-extended "/_$ARCH\.u?deb/ d" 
"$CHANGES" > "$ALLONLYCHANGES"
-                               perl -pi -e "s,^Architecture: source 
$ARCH$,Architecture: source," "$ALLONLYCHANGES"
+                               mergechanges --indep "$CHANGES" "$CHANGES" > 
"$ALLONLYCHANGES"
                                debsign "$ALLONLYCHANGES"
                                echo
                                cat "$ALLONLYCHANGES"

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

_______________________________________________
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits

Reply via email to