[macruby-changes] [2803] MacRuby/trunk/instruby.rb

source_changes at macosforge.org source_changes at macosforge.org
Wed Oct 14 17:51:45 PDT 2009


Revision: 2803
          http://trac.macosforge.org/projects/ruby/changeset/2803
Author:   lsansonetti at apple.com
Date:     2009-10-14 17:51:44 -0700 (Wed, 14 Oct 2009)
Log Message:
-----------
don't screw up /usr/local/bin/llc with a symlink

Modified Paths:
--------------
    MacRuby/trunk/instruby.rb

Modified: MacRuby/trunk/instruby.rb
===================================================================
--- MacRuby/trunk/instruby.rb	2009-10-14 23:31:57 UTC (rev 2802)
+++ MacRuby/trunk/instruby.rb	2009-10-15 00:51:44 UTC (rev 2803)
@@ -484,8 +484,8 @@
   mkdir_p dest_bin, :mode => 0755
   Dir.entries(with_destdir(CONFIG['bindir'])).each do |bin|
     next if bin[0] == '.'
-    # Except rb_nibtool!
-    next if bin == 'rb_nibtool'
+    # Except rb_nibtool & llc!
+    next if bin == 'rb_nibtool' or bin == 'llc'
     link = File.join("../../../", CONFIG['bindir'], bin)
     link.sub!(/#{MACRUBY_VERSION}/, 'Current')
     ln_sfh link, File.join(dest_bin, File.basename(bin))
@@ -519,7 +519,8 @@
 install('tool/rb_nibtool.old', ib_dest, :mode => $prog_mode)
 
 puts "installing LLVM tools"
-install('/usr/local/bin/llc', CONFIG['bindir'], :mode => $prog_mode)
+llc_dest = File.join(CONFIG['bindir'], 'llc')
+install('/usr/local/bin/llc', llc_dest, :mode => $prog_mode)
 
 end # unless $installing_rdoc
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20091014/d85ce966/attachment.html>


More information about the macruby-changes mailing list