Permalink
Browse files

Merge pull request #17 from daffydowden/brew-fix

If the brew command isn't in the path, then this line won't run
  • Loading branch information...
atmos committed Nov 12, 2011
2 parents 5e775a7 + 2455a00 commit fac1116fd8d487af1a113b3759def5fe618a72e2
Showing with 1 addition and 1 deletion.
  1. +1 −1 cookbooks/homebrew/providers/homebrew.rb
@@ -20,7 +20,7 @@ def load_current_resource
end
def install_package(name, version)
- run_brew_command("brew info #{name} | grep -q \"Not installed\"; if [ $? -eq 0 ]; then /usr/bin/env HOMEBREW_TEMP=#{PREFIX}/tmp #{HOMEBREW} install #{name}; fi")
+ run_brew_command("#{HOMEBREW} info #{name} | grep -q \"Not installed\"; if [ $? -eq 0 ]; then /usr/bin/env HOMEBREW_TEMP=#{PREFIX}/tmp #{HOMEBREW} install #{name}; fi")
end
def remove_package(name, version)

0 comments on commit fac1116

Please sign in to comment.