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
commit94fed7e533acaab5f1bece6aa605fb6fcdfc8b82 (patch)
treeaa1ac22cecd1f2e8242d5f9619faf53f5ad69116 /Library
parentee4fd13b5ce3bb306b822368ed649e57d5022681 (diff)
downloadhomebrew-94fed7e533acaab5f1bece6aa605fb6fcdfc8b82.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