mxcl/homebrew — Issue #8579: brew doctor fails to warn about volumes
Author: erikswanson
Created: 2011-11-14 05:34:54+00:00
State: open

While attempting to install git, I encountered the exact same issue as bugs #4113 and #1238:

==> Downloading http://git-core.googlecode.com/files/git-htmldocs-1.7.7.3.tar.gz
File already downloaded in /Users/erik/Library/Caches/Homebrew
/usr/bin/tar xf /Users/erik/Library/Caches/Homebrew/git-htmldocs-1.7.7.3.tar.gz
mv: cannot resolve index.html: /private/tmp/homebrew-__UNKNOWN__-1.7.7.3-75eo/git.html
Error:
erik@Avatar ~ $

My `brew doctor` output does **not** warn about the need to set `HOMEBREW_TEMP`:
https://gist.github.com/1363317

As an alternative to fixing the logic in `brew doctor`, is there a reason why `HOMEBREW_TEMP` can't have a smarter default that prevents this from being an issue?