aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/cmd')
-rw-r--r--Library/Homebrew/cmd/uninstall.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/uninstall.rb b/Library/Homebrew/cmd/uninstall.rb
index d9d13df3e..9400a3898 100644
--- a/Library/Homebrew/cmd/uninstall.rb
+++ b/Library/Homebrew/cmd/uninstall.rb
@@ -36,7 +36,7 @@ module Homebrew extend self
end
def rm_opt_link name
- optlink = HOMEBREW_PREFIX/:opt/name
+ optlink = HOMEBREW_PREFIX.join("opt", name)
optlink.unlink if optlink.symlink?
end