Patchwork [2,of,7,STABLE] builddeb: remove chmod as lintian tells us

login
register
mail settings
Submitter Sean Farley
Date May 1, 2016, 7:12 a.m.
Message ID <5f654601d95f01edb151.1462086722@laptop.local>
Download mbox | patch
Permalink /patch/14850/
State Accepted
Delegated to: Yuya Nishihara
Headers show

Comments

Sean Farley - May 1, 2016, 7:12 a.m.
# HG changeset patch
# User Sean Farley <sean@farley.io>
# Date 1462062552 25200
#      Sat Apr 30 17:29:12 2016 -0700
# Branch stable
# Node ID 5f654601d95f01edb151debff89a62533c9f6f9f
# Parent  8989df4c49c34a88be3569f1e0e82a06c6b9a39b
# EXP-Topic docker-ppa
builddeb: remove chmod as lintian tells us

It turns out we just need debian/rules to be executable, so we do just that.

Patch

diff --git a/contrib/builddeb b/contrib/builddeb
--- a/contrib/builddeb
+++ b/contrib/builddeb
@@ -68,11 +68,10 @@  if [ "$BUILD" ]; then
         echo "Error! debian control directory already exists!"
         exit 1
     fi
 
     cp -r $PWD/contrib/debian debian
-    chmod -R 0755 debian
 
     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