summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2018-01-31 11:01:54 +0200
committerMichael Stahl <mstahl@redhat.com>2018-01-31 15:03:25 +0100
commit7a7c99d0831c42a6f7bb93817e5ef96a83f23113 (patch)
tree4f07761b9a6155b8d6a4aa789dfa613b4bb27631 /Makefile.in
parent839336e55038ecdda87613c7e61dfd821a97be91 (diff)
Fix protection of some unnecessarily strictly protected files
Change-Id: I8bd18130c5fe87b2b352d285d58dd6a4f4499768 (cherry picked from commit 155086493c9e035c0568868f5ae3b3dcf3299e6f) Reviewed-on: https://gerrit.libreoffice.org/48960 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in
index 768861f2bcf6..a1d6a675d7ed 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -364,6 +364,12 @@ ifneq ($(ENABLE_MACOSX_SANDBOX),)
rm $(TESTINSTALLDIR)/$(PRODUCTNAME_WITHOUT_SPACES).app/Contents/MacOS/gengal
rm $(TESTINSTALLDIR)/$(PRODUCTNAME_WITHOUT_SPACES).app/Contents/MacOS/unopkg
rm $(TESTINSTALLDIR)/$(PRODUCTNAME_WITHOUT_SPACES).app/Contents/MacOS/unoinfo
+
+# Fix the protection of some externally sourced files that keep their original protection that
+# ridiculously doesn't allow 'read' by 'other'. (Which makes the files unusable anyway.) The App
+# Store validation catches this.
+
+ find $(TESTINSTALLDIR)/$(PRODUCTNAME_WITHOUT_SPACES).app/Contents ! -perm -o=r -print0 | xargs -0 chmod o+r
endif
#
# Then use the macosx-codesign-app-bundle script