aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2013-03-02 23:28:27 -0600
committerJack Nagel2013-03-02 23:28:27 -0600
commitc75a7decb7a3a89a28c12c3f2277e1496d3c6775 (patch)
tree1057f6e96e64d89326545cbb35a47563c7212cc2 /Library
parent7b23870b982f0169c768a6b954eb99ec5eece68b (diff)
downloadbrew-c75a7decb7a3a89a28c12c3f2277e1496d3c6775.tar.bz2
Save a subshell here
Diffstat (limited to 'Library')
-rwxr-xr-xLibrary/Homebrew/build.rb2
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