[Libreoffice-commits] core.git: Makefile.in

Tor Lillqvist tml at collabora.com
Wed Jan 31 09:06:21 UTC 2018


 Makefile.in |    6 ++++++
 1 file changed, 6 insertions(+)

New commits:
commit 155086493c9e035c0568868f5ae3b3dcf3299e6f
Author: Tor Lillqvist <tml at collabora.com>
Date:   Wed Jan 31 11:01:54 2018 +0200

    Fix protection of some unnecessarily strictly protected files
    
    Change-Id: I8bd18130c5fe87b2b352d285d58dd6a4f4499768

diff --git a/Makefile.in b/Makefile.in
index 1ccb676795fa..66da6683cb61 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -376,6 +376,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


More information about the Libreoffice-commits mailing list