diff options
| author | Jack Nagel | 2013-03-02 23:28:27 -0600 |
|---|---|---|
| committer | Jack Nagel | 2013-03-02 23:28:27 -0600 |
| commit | c75a7decb7a3a89a28c12c3f2277e1496d3c6775 (patch) | |
| tree | 1057f6e96e64d89326545cbb35a47563c7212cc2 /Library | |
| parent | 7b23870b982f0169c768a6b954eb99ec5eece68b (diff) | |
| download | brew-c75a7decb7a3a89a28c12c3f2277e1496d3c6775.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 |
