aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/brewkit.rb
diff options
context:
space:
mode:
authorMax Howell2009-09-23 16:44:10 +0100
committerMax Howell2009-09-24 18:26:24 +0100
commit44a1fa418e4251486ac811d1f8a2db99847f69b5 (patch)
tree12c9539f4d7f117820c412a9e006fe686c13e12e /Library/Homebrew/brewkit.rb
parent034fc40ae122f0d99ea0793264ed74c986866327 (diff)
downloadbrew-44a1fa418e4251486ac811d1f8a2db99847f69b5.tar.bz2
Use full paths to all system utilities
Otherwise you run the risk of not running the exact version / make of the utility you planned. Fixes Homebrew/homebrew#48 Really we need to do this formula too, so I guess a make and cmake function are on the way…
Diffstat (limited to 'Library/Homebrew/brewkit.rb')
-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 132bda851..91ea9fa64 100644
--- a/Library/Homebrew/brewkit.rb
+++ b/Library/Homebrew/brewkit.rb
@@ -187,5 +187,5 @@ def inreplace(path, before, after)
after.gsub! "$", "\\$"
# FIXME use proper Ruby for teh exceptions!
- safe_system "perl", "-pi", "-e", "s/#{before}/#{after}/g", path
+ safe_system "/usr/bin/perl", "-pi", "-e", "s/#{before}/#{after}/g", path
end