diff options
| author | Mike McQuaid | 2015-08-03 14:25:38 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2015-08-03 14:25:38 +0100 |
| commit | ea5840ed6192a2c2602223faf53dfcd5f32a26d7 (patch) | |
| tree | 7211d2714da55290204f10510335e78d3170722f /Library/Homebrew | |
| parent | 14f060621e6faf9d86e88850b23c46dde5543a50 (diff) | |
| download | brew-ea5840ed6192a2c2602223faf53dfcd5f32a26d7.tar.bz2 | |
keg_relocate: fix syntax error.
Closes Homebrew/homebrew#42408.
Diffstat (limited to 'Library/Homebrew')
| -rw-r--r-- | Library/Homebrew/keg_relocate.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/keg_relocate.rb b/Library/Homebrew/keg_relocate.rb index 97e0bee31..eceef192f 100644 --- a/Library/Homebrew/keg_relocate.rb +++ b/Library/Homebrew/keg_relocate.rb @@ -9,7 +9,7 @@ class Keg each_install_name_for(file) do |bad_name| # Don't fix absolute paths unless they are rooted in the build directory - next if bad_name.start_with? "/" && !bad_name.start_with?(HOMEBREW_TEMP.to_s) + next if bad_name.start_with?("/") && !bad_name.start_with?(HOMEBREW_TEMP.to_s) new_name = fixed_name(file, bad_name) change_install_name(bad_name, new_name, file) unless new_name == bad_name |
