Revision: 572 http://trac.macosforge.org/projects/ruby/changeset/572 Author: lsansonetti@apple.com Date: 2008-09-07 20:53:33 -0700 (Sun, 07 Sep 2008) Log Message: ----------- do not unnecessarily markgc the dylibs, if running with a DESTDIR Modified Paths: -------------- MacRuby/trunk/instruby.rb Modified: MacRuby/trunk/instruby.rb =================================================================== --- MacRuby/trunk/instruby.rb 2008-09-07 23:47:55 UTC (rev 571) +++ MacRuby/trunk/instruby.rb 2008-09-08 03:53:33 UTC (rev 572) @@ -527,9 +527,11 @@ end end Dir.glob('/System/Library/Frameworks/**/BridgeSupport/*.dylib').each do |p| - unless system("./markgc '#{p}' >& /dev/null") - $stderr.puts "cannot markgc #{p}" - exit 1 + unless File.exist?(touch_file) + unless system("./markgc '#{p}' >& /dev/null") + $stderr.puts "cannot markgc #{p}" + exit 1 + end end unless $destdir.empty? dirname = File.dirname(p)