aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/brewkit.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/brewkit.rb b/Library/Homebrew/brewkit.rb
index 8af00b5af..b3711cf2b 100644
--- a/Library/Homebrew/brewkit.rb
+++ b/Library/Homebrew/brewkit.rb
@@ -132,5 +132,5 @@ def inreplace(path, before, after)
# TODO this sucks
# either use 'ed', or allow regexp and use a proper ruby function
- Kernel.system "perl", "-pi", "-e", "s/#{before}/#{after}/g", path
+ safe_system "perl", "-pi", "-e", "s/#{before}/#{after}/g", path
end