[macruby-changes] [538] MacRuby/trunk/Rakefile
source_changes at macosforge.org
source_changes at macosforge.org
Sat Aug 30 21:29:45 PDT 2008
Revision: 538
http://trac.macosforge.org/projects/ruby/changeset/538
Author: lsansonetti at apple.com
Date: 2008-08-30 21:29:45 -0700 (Sat, 30 Aug 2008)
Log Message:
-----------
fixed ruby platform
Modified Paths:
--------------
MacRuby/trunk/Rakefile
Modified: MacRuby/trunk/Rakefile
===================================================================
--- MacRuby/trunk/Rakefile 2008-08-31 03:07:46 UTC (rev 537)
+++ MacRuby/trunk/Rakefile 2008-08-31 04:29:45 UTC (rev 538)
@@ -31,7 +31,7 @@
NEW_RUBY_VERSION = version_h.scan(/#\s*define\s+RUBY_VERSION\s+\"([^"]+)\"/)[0][0]
MACRUBY_VERSION = version_h.scan(/#\s*define\s+MACRUBY_VERSION\s+(.*)/)[0][0]
-NEW_RUBY_PLATFORM = 'universal-darwin' + `uname -r`.scan(/^\d+.\d+/)[0]
+NEW_RUBY_PLATFORM = 'universal-darwin' + `uname -r`.scan(/^(\d+)\.\d+\.(\d+)/)[0].join('.')
FRAMEWORK_PATH = File.join(FRAMEWORK_INSTDIR, FRAMEWORK_NAME + '.framework')
FRAMEWORK_VERSION = File.join(FRAMEWORK_PATH, 'Versions', MACRUBY_VERSION)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macruby-changes/attachments/20080830/3da2a223/attachment.html
More information about the macruby-changes
mailing list