From 456447cab21ef6cfa66a6fbb949146e0d1df462c Mon Sep 17 00:00:00 2001 From: Luke Kanies Date: Mon, 12 Apr 2010 11:05:21 -0700 Subject: Protecting spec_helper chmod from failure Signed-off-by: Luke Kanies --- spec/spec_helper.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 16081f957..777a06721 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -47,8 +47,8 @@ Spec::Runner.configure do |config| next end if FileTest.exist?(file) - system("chmod -R 755 #{file}") - system("rm -rf #{file}") + system("chmod -R 755 '#{file}'") + system("rm -rf '#{file}'") end end $tmpfiles.clear -- cgit