Permalink
Browse files

Set cwd=>false in sh method in solr-installer

  • Loading branch information...
1 parent 7502de0 commit 16efc29101c915ec9e482d4bb57ec36560150abe Nuo Yan committed with Mar 1, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 chef-solr/lib/chef/solr/solr_installer.rb
@@ -347,7 +347,7 @@ def sh(*args)
opts = args[1, args.size - 1]
opts_msg = opts.empty? ? '' : " #{opts.to_s}"
say "#{args.first}#{opts_msg}"
- shell_out!(*args) unless config.noop?
+ shell_out!(*(args << {:cwd => false})) unless config.noop?
end
def chown(file)

0 comments on commit 16efc29

Please sign in to comment.