diff options
| author | Vlad Shablinsky | 2015-08-11 19:26:16 +0300 |
|---|---|---|
| committer | Mike McQuaid | 2015-08-11 18:13:13 +0100 |
| commit | 3a764cb5497cd9949093f023375e17c8d64f6bf5 (patch) | |
| tree | 6df00c22d85749b2c9dbeb8459df44aeb34a315f /Library/Homebrew/cmd | |
| parent | 3350f9018a6c45c0f449da23b0437a2d6e410ed1 (diff) | |
| download | brew-3a764cb5497cd9949093f023375e17c8d64f6bf5.tar.bz2 | |
uninstall: fix --force
Closes Homebrew/homebrew#42814.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Homebrew/cmd')
| -rw-r--r-- | Library/Homebrew/cmd/uninstall.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/uninstall.rb b/Library/Homebrew/cmd/uninstall.rb index 5987cae09..aa4c0d919 100644 --- a/Library/Homebrew/cmd/uninstall.rb +++ b/Library/Homebrew/cmd/uninstall.rb @@ -59,7 +59,7 @@ module Homebrew old_opt.parent.rmdir_if_possible end - lnk.unlink if lnk.exist? && lnk.realpath == rack.realpath + link.unlink if link.exist? && link.realpath == rack.realpath end if rack.directory? |
