samueljohn 0eb1cadee0 brew --config: properly handle empty which strings
Symptom: If no python/ruby/perl is in your path, then `which x`.chomp
returns an empty string and `unless ""` is still true.  So, N/A is never
displayed.  Instead, ruby's Pathname.new("").realpath returns the cwd.
(I consider this realpath behavior a ruby bug) Fix: use empty?

Closes Homebrew/homebrew#10027.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-08 14:41:55 -06:00
..
2012-02-03 21:40:14 -08:00
2012-02-04 00:34:22 -06:00
2011-11-13 19:23:00 -08:00
2011-11-15 09:03:12 -08:00
2011-12-21 12:03:45 -08:00
2011-08-02 14:45:26 +01:00