[macruby-changes] [580] MacRuby/trunk/Rakefile
source_changes at macosforge.org
source_changes at macosforge.org
Mon Sep 8 14:01:29 PDT 2008
Revision: 580
http://trac.macosforge.org/projects/ruby/changeset/580
Author: lsansonetti at apple.com
Date: 2008-09-08 14:01:28 -0700 (Mon, 08 Sep 2008)
Log Message:
-----------
avoid infinite recursion
Modified Paths:
--------------
MacRuby/trunk/Rakefile
Modified: MacRuby/trunk/Rakefile
===================================================================
--- MacRuby/trunk/Rakefile 2008-09-08 19:49:12 UTC (rev 579)
+++ MacRuby/trunk/Rakefile 2008-09-08 21:01:28 UTC (rev 580)
@@ -181,7 +181,7 @@
txt = File.read(src)
txt.scan(/#include\s+\"([^"]+)\"/).flatten.each do |header|
p = header_path(header)
- if p
+ if p and !cont.include?(p)
cont << p
locate_headers(cont, p)
end
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macruby-changes/attachments/20080908/442d989f/attachment-0001.html
More information about the macruby-changes
mailing list