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

source_changes at macosforge.org source_changes at macosforge.org
Fri Jun 6 13:49:49 PDT 2008


Revision: 261
          http://trac.macosforge.org/projects/ruby/changeset/261
Author:   lsansonetti at apple.com
Date:     2008-06-06 13:49:49 -0700 (Fri, 06 Jun 2008)

Log Message:
-----------
when destdir is used, copy the modified bridge support files too

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

Modified: MacRuby/trunk/instruby.rb
===================================================================
--- MacRuby/trunk/instruby.rb	2008-06-06 20:17:56 UTC (rev 260)
+++ MacRuby/trunk/instruby.rb	2008-06-06 20:49:49 UTC (rev 261)
@@ -501,6 +501,11 @@
     $stderr.puts "cannot markgc #{p}"
     exit 1
   end
+  if $destdir
+    dirname = File.dirname(p)
+    mkdir_p(dirname)
+    install(p, dirname)
+  end
 end
 
 end # unless $installing_rdoc

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macruby-changes/attachments/20080606/2bf62b3d/attachment-0001.htm 


More information about the macruby-changes mailing list