buildr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vbo...@apache.org
Subject svn commit: r658293 - /incubator/buildr/trunk/rakelib/setup.rake
Date Tue, 20 May 2008 15:50:28 GMT
Author: vborja
Date: Tue May 20 08:50:28 2008
New Revision: 658293

URL: http://svn.apache.org/viewvc?rev=658293&view=rev
Log:
Updated `rake setup` to work windows.

Modified:
    incubator/buildr/trunk/rakelib/setup.rake

Modified: incubator/buildr/trunk/rakelib/setup.rake
URL: http://svn.apache.org/viewvc/incubator/buildr/trunk/rakelib/setup.rake?rev=658293&r1=658292&r2=658293&view=diff
==============================================================================
--- incubator/buildr/trunk/rakelib/setup.rake (original)
+++ incubator/buildr/trunk/rakelib/setup.rake Tue May 20 08:50:28 2008
@@ -45,6 +45,7 @@
     puts "Installing #{spec} ..."
     args = [rb_bin, '-S', 'gem', 'install', spec.name, '-v', spec.version.to_s]
     args.unshift('sudo', 'env', 'JAVA_HOME=' + ENV['JAVA_HOME']) unless windows?
+    args = args.map{|a| a.inspect}.join(' ') if windows?
     sh *args
   end
 end



Mime
View raw message