diff options
author | Luke Kanies <luke@puppetlabs.com> | 2010-04-12 11:05:21 -0700 |
---|---|---|
committer | Luke Kanies <luke@puppetlabs.com> | 2010-04-12 11:05:21 -0700 |
commit | 456447cab21ef6cfa66a6fbb949146e0d1df462c (patch) | |
tree | e61193f803a6efa1e48099c6565145568253bdf6 | |
parent | fa64774e60940e1118b5ca496387d2eb0545acb2 (diff) | |
download | puppet-456447cab21ef6cfa66a6fbb949146e0d1df462c.tar.gz puppet-456447cab21ef6cfa66a6fbb949146e0d1df462c.tar.xz puppet-456447cab21ef6cfa66a6fbb949146e0d1df462c.zip |
Protecting spec_helper chmod from failure
Signed-off-by: Luke Kanies <luke@puppetlabs.com>
-rw-r--r-- | spec/spec_helper.rb | 4 |
1 files 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 |