Submitter | Sean Farley |
---|---|
Date | April 20, 2016, 11:04 p.m. |
Message ID | <f7c47a7944db6dc71fc2.1461193463@laptop.office.atlassian.com> |
Download | mbox | patch |
Permalink | /patch/14747/ |
State | Accepted |
Headers | show |
Comments
Patch
diff --git a/contrib/builddeb b/contrib/builddeb --- a/contrib/builddeb +++ b/contrib/builddeb @@ -70,10 +70,14 @@ if [ "$BUILD" ]; then sed -i.tmp "s/__VERSION__/$debver/" $changelog sed -i.tmp "s/__DATE__/$(date --rfc-2822)/" $changelog sed -i.tmp "s/__CODENAME__/$CODENAME/" $changelog rm $changelog.tmp + # remove the node from the version string + SRCFILE="mercurial_$(echo $debver | sed "s,-$node,,").orig.tar.gz" + "$PWD/hg" archive $SRCFILE + mv $SRCFILE .. debuild -us -uc -i -I -b if [ $? != 0 ]; then echo 'debuild failed!' exit 1 fi