aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2011-05-05 09:48:28 -0700
committerAdam Vandenberg2011-05-05 09:48:28 -0700
commit6c51402141e2654ab9c4cbbd9820f21ea940c76b (patch)
tree20ff779034c6041b7e5bbd7b85c7d7f2b4fd44c1 /Library
parentf253cf3b102bfb01c7bced0344d90792390417a7 (diff)
downloadbrew-6c51402141e2654ab9c4cbbd9820f21ea940c76b.tar.bz2
fix_install_names fix for 10.5
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/keg_fix_install_names.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/keg_fix_install_names.rb b/Library/Homebrew/keg_fix_install_names.rb
index dd23c7755..55cc09395 100644
--- a/Library/Homebrew/keg_fix_install_names.rb
+++ b/Library/Homebrew/keg_fix_install_names.rb
@@ -28,7 +28,7 @@ class Keg
id = install_names.shift
install_names.compact!
install_names.reject!{ |fn| fn =~ /^@(loader|executable)_path/ }
- install_names.reject!{ |fn| fn.start_with? '/' }
+ install_names.reject!{ |fn| fn[0,1] == '/' }
unless install_names.empty? and id == dylib # avoid the work if possible
yield dylib, install_names