aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMax Howell2009-08-23 17:56:53 +0100
committerMax Howell2009-08-24 01:04:54 +0100
commit9243396f91bb4d4e2f90609b8208df1a599d9bc6 (patch)
treeb90b2656e0244618a4f65b220377b5b0b7cefa58 /Library
parentb3107a85ac9f8d330b01063ef937d0c11d006094 (diff)
downloadhomebrew-9243396f91bb4d4e2f90609b8208df1a599d9bc6.tar.bz2
reinreplace uses safe_system
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