From ab48359c0e7d879bebf67560822d25e6cd889d7f Mon Sep 17 00:00:00 2001 From: Stephane Glondu Date: Fri, 21 Aug 2015 10:50:13 +0200 Subject: [PATCH] Set permissions of patches in ocaml-source --- debian/rules | 3 +++ 1 file changed, 3 insertions(+) diff --git a/debian/rules b/debian/rules index b29587ae..90ebcf03 100755 --- a/debian/rules +++ b/debian/rules @@ -111,6 +111,9 @@ $(TARBALL_TARGET): $(UPSTREAM_TARBALL) cp $< debian/$(DISTDIR) # Copy debian/patches cp -a debian/patches debian/$(DISTDIR)/debian-patches +# Set permissions (workaround for #796257) + chmod 755 debian/$(DISTDIR)/debian-patches + chmod 644 debian/$(DISTDIR)/debian-patches/* # Create the tarball and cleanup cd debian && find $(DISTDIR) -not -type d -print0 | \ LC_ALL=C sort --zero-terminated | \ -- 2.30.2