--- 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