summaryrefslogtreecommitdiffstats
path: root/Rakefile
diff options
context:
space:
mode:
authorDaniel Pittman <daniel@rimspace.net>2011-03-08 15:03:57 -0800
committerDaniel Pittman <daniel@rimspace.net>2011-03-08 15:03:57 -0800
commit3b89f32693d3d58d27eeebb33ba8a39f87ab4135 (patch)
tree4f314f9b10448ad3643131fbe9dd453cc7c709aa /Rakefile
parentc3ec3d100fb27211bf86c12bdc759d1fa1afce25 (diff)
downloadpuppet-3b89f32693d3d58d27eeebb33ba8a39f87ab4135.tar.gz
puppet-3b89f32693d3d58d27eeebb33ba8a39f87ab4135.tar.xz
puppet-3b89f32693d3d58d27eeebb33ba8a39f87ab4135.zip
maint: use chdir rather than depend on bash for win32
We used to depend on a Unix shell, but with Win32 support this doesn't work so well. Thankfully, all we really wanted to do was change directory down into 'test', which Ruby can do natively, saving us the platform headache.
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rakefile b/Rakefile
index 6cc53fe18..e59d20ade 100644
--- a/Rakefile
+++ b/Rakefile
@@ -49,5 +49,5 @@ end
desc "Run the unit tests"
task :unit do
- sh "cd test; rake"
+ Dir.chdir("test") { sh "rake" }
end