You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by vb...@apache.org on 2008/05/20 17:50:28 UTC
svn commit: r658293 - /incubator/buildr/trunk/rakelib/setup.rake
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