aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorMike McQuaid2015-08-03 14:25:38 +0100
committerMike McQuaid2015-08-03 14:25:38 +0100
commitea5840ed6192a2c2602223faf53dfcd5f32a26d7 (patch)
tree7211d2714da55290204f10510335e78d3170722f /Library/Homebrew
parent14f060621e6faf9d86e88850b23c46dde5543a50 (diff)
downloadbrew-ea5840ed6192a2c2602223faf53dfcd5f32a26d7.tar.bz2
keg_relocate: fix syntax error.
Closes Homebrew/homebrew#42408.
Diffstat (limited to 'Library/Homebrew')
-rw-r--r--Library/Homebrew/keg_relocate.rb2
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