Skip to content
This repository has been archived by the owner on May 22, 2018. It is now read-only.

Commit

Permalink
use a more full PATH, and set HOME
Browse files Browse the repository at this point in the history
  • Loading branch information
wfarr committed May 12, 2013
1 parent 7be2867 commit ee0dce6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/puppet/provider/package/homebrew.rb
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,8 @@ def command_opts
@command_opts ||= {
:combine => true,
:custom_environment => {
"PATH" => "#{Facter[:boxen_home].value}/homebrew/bin:$PATH",
"HOME" => "/Users/#{Facter[:boxen_user].value}",
"PATH" => "#{self.class.home}/bin:/usr/bin:/usr/sbin:/bin:/sbin",
"CFLAGS" => "-O2",
"CPPFLAGS" => "-O2",
"CXXFLAGS" => "-O2"
Expand Down

0 comments on commit ee0dce6

Please sign in to comment.