Author: djspiewak
Date: Wed Sep  9 21:56:26 2009
New Revision: 813133

URL: http://svn.apache.org/viewvc?rev=813133&view=rev
Log:
In the sandbox, Buildr should use an absolute path when setting the HOME env 
variable (Antoine Toulme)

Modified:
    buildr/trunk/spec/sandbox.rb

Modified: buildr/trunk/spec/sandbox.rb
URL: 
http://svn.apache.org/viewvc/buildr/trunk/spec/sandbox.rb?rev=813133&r1=813132&r2=813133&view=diff
==============================================================================
--- buildr/trunk/spec/sandbox.rb (original)
+++ buildr/trunk/spec/sandbox.rb Wed Sep  9 21:56:26 2009
@@ -30,7 +30,7 @@
   file(path).invoke
 end
 
-ENV['HOME'] = File.expand_path('tmp/home')
+ENV['HOME'] = File.expand_path(File.join(File.dirname(__FILE__), '..', 'tmp', 
'home'))
 
 # We need to run all tests inside a _sandbox, tacking a snapshot of Buildr 
before the test,
 # and restoring everything to its previous state after the test. Damn state 
changes.


Reply via email to