[macruby-changes] [727] MacRuby/trunk/lib/hotcocoa/application_builder.rb

source_changes at macosforge.org source_changes at macosforge.org
Mon Nov 10 16:55:36 PST 2008


Revision: 727
          http://trac.macosforge.org/projects/ruby/changeset/727
Author:   lsansonetti at apple.com
Date:     2008-11-10 16:55:36 -0800 (Mon, 10 Nov 2008)
Log Message:
-----------
escape the objc executable file name between quotes, since it may contain spaces

Modified Paths:
--------------
    MacRuby/trunk/lib/hotcocoa/application_builder.rb

Modified: MacRuby/trunk/lib/hotcocoa/application_builder.rb
===================================================================
--- MacRuby/trunk/lib/hotcocoa/application_builder.rb	2008-11-11 00:15:34 UTC (rev 726)
+++ MacRuby/trunk/lib/hotcocoa/application_builder.rb	2008-11-11 00:55:36 UTC (rev 727)
@@ -128,7 +128,7 @@
       
       def copy_framework
         FileUtils.cp_r macruby_framework_path, frameworks_root
-        `install_name_tool -change #{current_macruby_path}/usr/lib/libmacruby.dylib @executable_path/../Frameworks/MacRuby.framework/Versions/#{current_macruby_version}/usr/lib/libmacruby.dylib #{macos_root}/#{objective_c_executable_file}`
+        `install_name_tool -change #{current_macruby_path}/usr/lib/libmacruby.dylib @executable_path/../Frameworks/MacRuby.framework/Versions/#{current_macruby_version}/usr/lib/libmacruby.dylib '#{macos_root}/#{objective_c_executable_file}'`
       end
       
       def copy_sources
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20081110/97d2e12f/attachment-0001.html>


More information about the macruby-changes mailing list