[macruby-changes] [4979] MacRuby/trunk/instruby.rb

source_changes at macosforge.org source_changes at macosforge.org
Sat Dec 4 15:26:55 PST 2010


Revision: 4979
          http://trac.macosforge.org/projects/ruby/changeset/4979
Author:   lsansonetti at apple.com
Date:     2010-12-04 15:26:52 -0800 (Sat, 04 Dec 2010)
Log Message:
-----------
fix install permissions for Info.plist and InfoPlist.strings (patch by dj2 at everburning.com)

Modified Paths:
--------------
    MacRuby/trunk/instruby.rb

Modified: MacRuby/trunk/instruby.rb
===================================================================
--- MacRuby/trunk/instruby.rb	2010-12-04 23:15:14 UTC (rev 4978)
+++ MacRuby/trunk/instruby.rb	2010-12-04 23:26:52 UTC (rev 4979)
@@ -465,10 +465,10 @@
   base = File.join(CONFIG["prefix"], '..')
   resources = File.join(base, 'Resources')
   mkdir_p resources, :mode => 0755
-  install File.join('framework/Info.plist'), resources
+  install File.join('framework/Info.plist'), resources, :mode => 0644
   mkdir_p File.join(resources, 'English.lproj'), :mode => 0755
-  install File.join('framework/InfoPlist.strings'), 
-    File.join(resources, 'English.lproj')
+  install File.join('framework/InfoPlist.strings'),
+    File.join(resources, 'English.lproj'), :mode => 0644
   rm_f File.join(base, '..', 'Current') if 
     File.symlink?(with_destdir(File.join(base, '..', 'Current')))
   ln_sfh install_version.to_s, File.join(base, '..', 'Current')
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20101204/880a88d1/attachment.html>


More information about the macruby-changes mailing list