comparison contrib/builddeb @ 28992:dd7b72b55f3e stable

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.
author Sean Farley <sean@farley.io>
date Fri, 15 Apr 2016 15:44:00 -0700
parents 1967c6b714e6
children 837119bf7f01
comparison
equal deleted inserted replaced
28991:1967c6b714e6 28992:dd7b72b55f3e
70 sed -i.tmp "s/__VERSION__/$debver/" $changelog 70 sed -i.tmp "s/__VERSION__/$debver/" $changelog
71 sed -i.tmp "s/__DATE__/$(date --rfc-2822)/" $changelog 71 sed -i.tmp "s/__DATE__/$(date --rfc-2822)/" $changelog
72 sed -i.tmp "s/__CODENAME__/$CODENAME/" $changelog 72 sed -i.tmp "s/__CODENAME__/$CODENAME/" $changelog
73 rm $changelog.tmp 73 rm $changelog.tmp
74 74
75 debuild -us -uc -b 75 debuild -us -uc -i -I -b
76 if [ $? != 0 ]; then 76 if [ $? != 0 ]; then
77 echo 'debuild failed!' 77 echo 'debuild failed!'
78 exit 1 78 exit 1
79 fi 79 fi
80 80