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

source_changes at macosforge.org source_changes at macosforge.org
Sat Sep 5 09:25:24 PDT 2009


Revision: 2487
          http://trac.macosforge.org/projects/ruby/changeset/2487
Author:   eloy.de.enige at gmail.com
Date:     2009-09-05 09:25:23 -0700 (Sat, 05 Sep 2009)
Log Message:
-----------
Ugh stupid bug

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	2009-09-05 16:25:15 UTC (rev 2486)
+++ MacRuby/trunk/rakelib/upstream_git_repo_tasks.rb	2009-09-05 16:25:23 UTC (rev 2487)
@@ -14,11 +14,11 @@
   end
   
   def upstream_rev_file
-    File.read(File.join(@local_dir, 'upstream'))
+    File.join(@local_dir, 'upstream')
   end
   
   def upstream_rev
-    @upstream_rev ||= ENV['REV'] || upstream_rev_file
+    @upstream_rev ||= ENV['REV'] || File.read(upstream_rev_file)
   end
   
   def define
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090905/bda0d552/attachment.html>


More information about the macruby-changes mailing list