diff options
| author | Baptiste Fontaine | 2014-12-24 16:59:40 +0100 |
|---|---|---|
| committer | Jack Nagel | 2014-12-24 12:16:16 -0500 |
| commit | 278b77e6c5ebaf2ae1d9cf43a19efbf93d6c1863 (patch) | |
| tree | 9d07cf74aec17a7eb4bfbbb78bb6f02f384a01e3 /Library | |
| parent | 1b1a73bddb0a241ee810634f4aeb163245a70c18 (diff) | |
| download | brew-278b77e6c5ebaf2ae1d9cf43a19efbf93d6c1863.tar.bz2 | |
Quote path in conflict error rm command
Fixes Homebrew/homebrew#35143.
Closes Homebrew/homebrew#35239.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/keg.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/keg.rb b/Library/Homebrew/keg.rb index 47c55e9da..0c87dfc8c 100644 --- a/Library/Homebrew/keg.rb +++ b/Library/Homebrew/keg.rb @@ -30,7 +30,7 @@ class Keg def suggestion conflict = Keg.for(dst) rescue NotAKegError, Errno::ENOENT - "already exists. You may want to remove it:\n rm #{dst}\n" + "already exists. You may want to remove it:\n rm '#{dst}'\n" else <<-EOS.undent is a symlink belonging to #{conflict.name}. You can unlink it: |
