diff options
| author | Jack Nagel | 2013-03-02 23:28:27 -0600 |
|---|---|---|
| committer | Jack Nagel | 2013-03-02 23:28:27 -0600 |
| commit | cfe799a43d41c43dfb1b74c5852e258641a0b30e (patch) | |
| tree | 014a9834cdb50d3858e4faf8b8e38cc80cca2ebc /Library | |
| parent | f62e5f8eb47f2662bc23c507a36cfcbe77aad241 (diff) | |
| download | homebrew-cfe799a43d41c43dfb1b74c5852e258641a0b30e.tar.bz2 | |
Save a subshell here
Diffstat (limited to 'Library')
| -rwxr-xr-x | Library/Homebrew/build.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/build.rb b/Library/Homebrew/build.rb index 2390b811d..f2601ea63 100755 --- a/Library/Homebrew/build.rb +++ b/Library/Homebrew/build.rb @@ -38,7 +38,7 @@ def main # Force any future invocations of sudo to require the user's password to be # re-entered. This is in-case any build script call sudo. Certainly this is # can be inconvenient for the user. But we need to be safe. - system "/usr/bin/sudo -k" + system "/usr/bin/sudo", "-k" install(Formula.factory($0)) rescue Exception => e |
