mxcl/homebrew — pull request #10876 by mikemcquaid (2012-03-12 04:07:07+00:00)
Title: Set MACOS_VERSION as 0 on non-OSX platforms.

I realise this may be fairly controversial but this (smallish) commit
lets `brew audit` run on non-OSX platforms (e.g. Linux).

Caveats: currently before the `brew audit` output you get:
/usr/bin/which: illegal option -- s
Usage: /usr/bin/which [-a] args
/usr/bin/which: illegal option -- s
Usage: /usr/bin/which [-a] args
sh: mdfind: command not found

If it's ok for me to add a which_s method into utils.rb and add another
special-case for the mdfind usage (finding Xcode) then I can continue on
this.

Thoughts (@mxcl particularly)?