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 f68950c..774ad93 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"
        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 \
 
 # uncomment if dependencies on XPCOM libs is sought
 #      if test -d "$(MOZILLA_SDK_PATH)/lib"; then \