[macruby-changes] [572] MacRuby/trunk/instruby.rb
source_changes at macosforge.org
source_changes at macosforge.org
Sun Sep 7 20:53:35 PDT 2008
Revision: 572
http://trac.macosforge.org/projects/ruby/changeset/572
Author: lsansonetti at 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)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macruby-changes/attachments/20080907/564e070b/attachment-0001.html
More information about the macruby-changes
mailing list