Skip to content
This repository has been archived by the owner on Dec 2, 2020. It is now read-only.

Commit

Permalink
Merge pull request #93 from salimane/brew_update
Browse files Browse the repository at this point in the history
Run brew as the current boxen user, fixes #91
  • Loading branch information
MikeMcQuaid committed Apr 4, 2016
2 parents a5c82f0 + 8ebebda commit 3d5687f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/puppet/provider/homebrew_repo/homebrew.rb
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def homedir_prefix
end

def brew_command_opts
default_command_opts.merge({
build_command_opts.merge({
:custom_environment => {
"HOME" => "/#{homedir_prefix}/#{@resource[:user]}",
"PATH" => "#{self.class.home}/bin:/usr/bin:/usr/sbin:/bin:/sbin",
Expand Down
2 changes: 1 addition & 1 deletion manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
$tapsdir = $homebrew::config::tapsdir,
$brewsdir = $homebrew::config::brewsdir,
$min_revision = $homebrew::config::min_revision,
$repo = 'Homebrew/homebrew',
$repo = 'Homebrew/brew',
$set_cflags = true,
$set_ldflags = true,
) inherits homebrew::config {
Expand Down

0 comments on commit 3d5687f

Please sign in to comment.