[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, experimental, updated. debian/2.6.8-1-844-g7ec39d5

Daniel Pittman daniel at rimspace.net
Tue May 10 08:05:58 UTC 2011


The following commit has been merged in the experimental branch:
commit 3b89f32693d3d58d27eeebb33ba8a39f87ab4135
Author: Daniel Pittman <daniel at rimspace.net>
Date:   Tue Mar 8 15:03:57 2011 -0800

    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.

diff --git a/Rakefile b/Rakefile
index 6cc53fe..e59d20a 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

-- 
Puppet packaging for Debian



More information about the Pkg-puppet-devel mailing list