Set permissions of patches in ocaml-source
authorStephane Glondu <steph@glondu.net>
Fri, 21 Aug 2015 08:50:13 +0000 (10:50 +0200)
committerStephane Glondu <steph@glondu.net>
Fri, 21 Aug 2015 08:50:13 +0000 (10:50 +0200)
debian/rules

index b29587ae6746ba87bc86dbf0ad29a21931249476..90ebcf039d7abf345b553c46c2ce24e8ad15a1e1 100755 (executable)
@@ -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 | \