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

Sean Farley sean at farley.io
Sun May 1 03:12:02 EDT 2016


# HG changeset patch
# User Sean Farley <sean at 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.

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


More information about the Mercurial-devel mailing list