mxcl/homebrew — pull request #9986 by smarek (2012-02-05 13:21:23+00:00)
Title: On non-sanitized PATH value '/usr/local/bin/' doctor fails to compare '/...

...usr/local/bin//pkg-config' to '/usr/local/bin/pkg-config', this modification will sanitize the return of `which pkg-config` to contain only single slashes and to validly notify if result of which is really different from Homebrew path to own pkg-config