mxcl/homebrew — pull request #14636 by ZeissS (2012-09-02 11:07:59+00:00)
Title: Change sdk detection to same syntax used elsewhere in macos.rb

This wasn't working for me on leopard with ruby 1.9.2.

I think this problem was introduced in bbe75d3efbfe9cece5ee161882c0002c9697a047.

`````

localhost:Homebrew(master) zeisss$ brew upgrade
==> Upgrading 2 outdated packages, with result:
redis 2.4.17, ruby 1.9.3-p194
==> Upgrading redis
Error: wrong argument type Symbol (expected Proc)
Please report this bug:
https://github.com/mxcl/homebrew/wiki/bug-fixing-checklist
/Users/zeisss/Library/Homebrew/Library/Homebrew/macos.rb:78:in `sdk_path'
/Users/zeisss/Library/Homebrew/Library/Homebrew/extend/ENV.rb:188:in `remove_macosxsdk'
/Users/zeisss/Library/Homebrew/Library/Homebrew/extend/ENV.rb:206:in `macosxsdk'
/Users/zeisss/Library/Homebrew/Library/Homebrew/extend/ENV.rb:57:in `setup_build_environment'
/Users/zeisss/Library/Homebrew/Library/Homebrew/build.rb:89:in `install'
/Users/zeisss/Library/Homebrew/Library/Homebrew/build.rb:42:in `main'
/Users/zeisss/Library/Homebrew/Library/Homebrew/build.rb:12
````