diff options
| author | Max Howell | 2012-03-09 11:57:10 +0000 |
|---|---|---|
| committer | Max Howell | 2012-03-09 12:09:38 +0000 |
| commit | d39364b70a451a0a0bbd5c5abd1bca2371173c72 (patch) | |
| tree | b7654ccf9376d0784471ffeeb20f93e4c9bb0880 | |
| parent | 897dd14ae5ab775470264156ddd3645ffb37cfaa (diff) | |
| download | brew-d39364b70a451a0a0bbd5c5abd1bca2371173c72.tar.bz2 | |
Use full path to sudo
| -rw-r--r-- | install_homebrew.rb | 4 |
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 |
