diff options
author | Tor Lillqvist <tml@collabora.com> | 2018-01-31 11:01:54 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2018-01-31 11:05:32 +0200 |
commit | 155086493c9e035c0568868f5ae3b3dcf3299e6f (patch) | |
tree | a619adaed5b15c1a8fd0ec16b8fbe5a9f055dd2a | |
parent | baf3ad4dc9ef4e18306b492a70eadc285f6dbe51 (diff) |
Fix protection of some unnecessarily strictly protected files
Change-Id: I8bd18130c5fe87b2b352d285d58dd6a4f4499768
-rw-r--r-- | Makefile.in | 6 |
1 files changed, 6 insertions, 0 deletions
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 |