Revision
594
Author
lsansonetti@apple.com
Date
2008-09-09 12:19:55 -0700 (Tue, 09 Sep 2008)

Log Message

do not install a new copy of rb_nibtool but instead make a symlink to the version inside the framework which has the correct shebang line

Modified Paths

Diff

Modified: MacRuby/trunk/instruby.rb (593 => 594)


--- MacRuby/trunk/instruby.rb	2008-09-09 06:16:52 UTC (rev 593)
+++ MacRuby/trunk/instruby.rb	2008-09-09 19:19:55 UTC (rev 594)
@@ -512,7 +512,7 @@
 puts "installing IB support"
 ib_dest = '/Developer/usr/bin'
 mkdir_p ib_dest
-install('bin/rb_nibtool', ib_dest, :mode => $prog_mode)
+ln_sfh File.join("../../..", CONFIG['bindir'], 'rb_nibtool'), ib_dest
 install('tool/rb_nibtool.old', ib_dest, :mode => $prog_mode)
 
 touch_file = '/System/Library/Frameworks/.bridgesupport_dylib_gcmarked'