aboutsummaryrefslogtreecommitdiffstats
path: root/install_homebrew.rb
diff options
context:
space:
mode:
Diffstat (limited to 'install_homebrew.rb')
-rw-r--r--install_homebrew.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/install_homebrew.rb b/install_homebrew.rb
index a43839ae1..037d75b45 100644
--- a/install_homebrew.rb
+++ b/install_homebrew.rb
@@ -52,9 +52,9 @@ end
def sudo *args
args = if args.length > 1
- args.unshift "sudo"
+ args.unshift "/usr/bin/sudo"
else
- "sudo #{args}"
+ "/usr/bin/sudo #{args}"
end
ohai *args
system *args