Patchwork [1,of,4,STABLE,ppa] builddeb: ignore vcs and build results

login
register
mail settings
Submitter Sean Farley
Date April 20, 2016, 11:04 p.m.
Message ID <5378c78103d83e001e1c.1461193462@laptop.office.atlassian.com>
Download mbox | patch
Permalink /patch/14748/
State Accepted
Headers show

Comments

Sean Farley - April 20, 2016, 11:04 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 5378c78103d83e001e1c89b2deec65632f5d5300
# Parent  1967c6b714e6bc2e3ffe7ea0197a5f2b42b53320
# 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