]> git.sesse.net Git - vlc/commitdiff
mozilla: make sure we set the correct file rights before we distribute the plugin
authorFelix Paul Kühne <fkuehne@videolan.org>
Tue, 10 Feb 2009 18:41:20 +0000 (19:41 +0100)
committerFelix Paul Kühne <fkuehne@videolan.org>
Tue, 10 Feb 2009 18:41:41 +0000 (19:41 +0100)
projects/mozilla/Makefile.am

index f68950c0f022cb0729a53a45f04bc1cc7f93e616..774ad93f49600a961893ec8c745f20d8e44e04b4 100644 (file)
@@ -116,6 +116,8 @@ VLC\ Plugin.plugin: npvlc.rsrc $(lib_LTLIBRARIES)
        cp -r "$(top_builddir)/extras/package/macosx/plugin/English.lproj" "VLC-Plugin.plugin/Contents/Resources/"
        $(INSTALL) "$(top_builddir)/extras/package/macosx/plugin/Info.plist" "VLC-Plugin.plugin/Contents/Info.plist"
        mv "VLC-Plugin.plugin" "VLC Plugin.plugin"
+       find "VLC Plugin.plugin" -type d -exec chmod ugo+rx '{}' \;
+       find "VLC Plugin.plugin" -type f -exec chmod ugo+r '{}' \;
 
 # uncomment if dependencies on XPCOM libs is sought
 #      if test -d "$(MOZILLA_SDK_PATH)/lib"; then \