Patchwork [6,of,6,STABLE] builddeb: ignore vcs and build results

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

Comments

Sean Farley - April 18, 2016, 5:52 p.m.
# HG changeset patch
# User Sean Farley <sean@farley.io>
# Date 1460760240 25200
#      Fri Apr 15 15:44:00 2016 -0700
# Branch stable
# Node ID 1179770168961fa299a0b6651cd778c60e39eff2
# Parent  8ac8ecb5656fde19622cfcadcd861c01f538169f
# EXP-Topic ppa
builddeb: ignore vcs and build results

This one is a no-brainer. Previously, if you tried to build a deb on ubuntu, it
would try to diff files in the .hg store. These flags prevent that.

Patch

diff --git a/contrib/builddeb b/contrib/builddeb
--- a/contrib/builddeb
+++ b/contrib/builddeb
@@ -70,11 +70,11 @@  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
 
-    debuild -us -uc -b
+    debuild -us -uc -i -I -b
     if [ $? != 0 ]; then
         echo 'debuild failed!'
         exit 1
     fi