mxcl/homebrew — Issue #10509: ENV.rb small pipe typo
Author: samueljohn
Created: 2012-02-26 19:48:31+00:00
State: open

A small typo in the pipe redirection?

`elsif not MacOS.xctools_fucked? and system "/usr/bin/xcrun -find #{tool} 2>1 1>/dev/null"`
in https://github.com/mxcl/homebrew/blob/master/Library/Homebrew/extend/ENV.rb#L97

Perhaps, the "&" was missing like so `2>&1`?
If found funny files in my CWD with the name "1".