From: Stephane Glondu Date: Fri, 21 Aug 2015 08:50:13 +0000 (+0200) Subject: Set permissions of patches in ocaml-source X-Git-Tag: archive/raspbian/4.08.1-4+rpi1~3^2~130 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=ab48359c0e7d879bebf67560822d25e6cd889d7f;p=ocaml.git Set permissions of patches in ocaml-source --- 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 | \