[vlc-devel] commit: mozilla: make sure we set the correct file rights before we distribute the plugin ( Felix Paul Kühne )

git version control git at videolan.org
Tue Feb 10 19:41:46 CET 2009


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Tue Feb 10 19:41:20 2009 +0100| [5c3476e5aadb48fdf2b174b9beef21a2d2cc6f18] | committer: Felix Paul Kühne 

mozilla: make sure we set the correct file rights before we distribute the plugin

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5c3476e5aadb48fdf2b174b9beef21a2d2cc6f18
---

 projects/mozilla/Makefile.am |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/projects/mozilla/Makefile.am b/projects/mozilla/Makefile.am
index f68950c..774ad93 100644
--- a/projects/mozilla/Makefile.am
+++ b/projects/mozilla/Makefile.am
@@ -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 \




More information about the vlc-devel mailing list