Patchwork [5,of,6,STABLE] builddeb: copy over .gz and .dsc files

login
register
mail settings
Submitter Sean Farley
Date April 18, 2016, 5:52 p.m.
Message ID <8ac8ecb5656fde19622c.1461001932@laptop.office.atlassian.com>
Download mbox | patch
Permalink /patch/14724/
State Superseded
Headers show

Comments

Sean Farley - April 18, 2016, 5:52 p.m.
# HG changeset patch
# User Sean Farley <sean@farley.io>
# Date 1460755706 25200
#      Fri Apr 15 14:28:26 2016 -0700
# Branch stable
# Node ID 8ac8ecb5656fde19622cfcadcd861c01f538169f
# Parent  09679eb08ec0235ab66d9b7bb4bc11eb555c71f4
# EXP-Topic ppa
builddeb: copy over .gz and .dsc files

We were forgetting to copy over the signature (if it exists) and the zipped
diff, so let's do that.

Patch

diff --git a/contrib/builddeb b/contrib/builddeb
--- a/contrib/builddeb
+++ b/contrib/builddeb
@@ -82,10 +82,11 @@  fi
 if [ "$CLEANUP" ] ; then
     echo
     OUTPUTDIR=${OUTPUTDIR:=packages/$DISTID-$CODENAME}
     mkdir -p "$OUTPUTDIR"
     find ../mercurial*.deb ../mercurial_*.build ../mercurial_*.changes \
+          ../mercurial*.dsc ../mercurial*.gz \
           -type f -newer $control -print0 2>/dev/null | \
       xargs -Inarf -0 mv narf "$OUTPUTDIR"
     echo "Built packages for $debver:"
     find "$OUTPUTDIR" -type f -newer $control -name '*.deb'
 fi