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
..
2011-03-19 11:06:51 -07:00
2011-12-31 21:22:22 -06:00
2012-02-04 00:27:05 -06:00
2012-02-04 00:27:05 -06:00
2011-03-12 11:55:07 -08:00
2012-01-14 02:40:43 +00:00
2012-02-04 00:27:05 -06:00
2011-08-24 22:30:43 +01:00
2012-02-04 00:27:05 -06:00
2012-02-04 00:27:05 -06:00
2011-03-12 19:36:37 -08:00
2012-02-04 00:27:05 -06:00
2012-01-13 22:31:55 -06:00
2012-02-04 00:27:05 -06:00
2012-02-04 00:27:05 -06:00
2011-09-20 02:30:31 +01:00
2012-02-04 00:27:05 -06:00