[macruby-changes] [3433] MacRuby/trunk/rakelib/upstream_git_repo_tasks.rb

source_changes at macosforge.org source_changes at macosforge.org
Thu Feb 4 14:50:06 PST 2010


Revision: 3433
          http://trac.macosforge.org/projects/ruby/changeset/3433
Author:   lsansonetti at apple.com
Date:     2010-02-04 14:50:03 -0800 (Thu, 04 Feb 2010)
Log Message:
-----------
check for RC_XBS instead

Modified Paths:
--------------
    MacRuby/trunk/rakelib/upstream_git_repo_tasks.rb

Modified: MacRuby/trunk/rakelib/upstream_git_repo_tasks.rb
===================================================================
--- MacRuby/trunk/rakelib/upstream_git_repo_tasks.rb	2010-02-04 05:31:43 UTC (rev 3432)
+++ MacRuby/trunk/rakelib/upstream_git_repo_tasks.rb	2010-02-04 22:50:03 UTC (rev 3433)
@@ -18,8 +18,8 @@
   end
   
   def upstream_rev
-    # The buildit build does not contain the spec/frozen/upstream file.
-    @upstream_rev ||= ENV['REV'] || (ENV['RC_BUILDIT'] ? '0' : File.read(upstream_rev_file))
+    # The XBS build does not contain the spec/frozen/upstream file.
+    @upstream_rev ||= ENV['REV'] || (ENV['RC_XBS'] ? nil : File.read(upstream_rev_file))
   end
   
   def define
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20100204/485438b3/attachment.html>


More information about the macruby-changes mailing list