diff options
| author | Jack Nagel | 2013-12-27 16:09:31 -0600 |
|---|---|---|
| committer | Jack Nagel | 2013-12-27 16:09:31 -0600 |
| commit | e29cbc5a48616ad22b5a07951887109f65cabada (patch) | |
| tree | 614f8c872cf95385b60597e3564b5372a0511033 /Library | |
| parent | 2e22465aa41d0ff38f9d36562fccffa30eadd086 (diff) | |
| download | brew-e29cbc5a48616ad22b5a07951887109f65cabada.tar.bz2 | |
Drop unnecessary Pathname creation
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/keg_fix_install_names.rb | 2 |
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 4ef543838..3fc827bf5 100644 --- a/Library/Homebrew/keg_fix_install_names.rb +++ b/Library/Homebrew/keg_fix_install_names.rb @@ -126,7 +126,7 @@ class Keg def dylib_id_for file, options={} # the shortpath ensures that library upgrades don’t break installed tools - relative_path = Pathname.new(file).relative_path_from(self) + relative_path = file.relative_path_from(self) shortpath = HOMEBREW_PREFIX.join(relative_path) if shortpath.exist? and not options[:keg_only] |
