8 Sep
2008
8 Sep
'08
9:01 p.m.
Revision: 580 http://trac.macosforge.org/projects/ruby/changeset/580 Author: lsansonetti@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