Max Howell 4f06d131df Superenv wrapper for sed
Fixes Mountain Lion specific sed issue.

Provided scripts don't use the full-path to see we are fine. They never do though, that would assume too much.
2012-08-29 12:41:35 -04:00

8 lines
183 B
Bash
Executable File

#!/bin/bash
if [[ $HOMEBREW_CCCFG == *s* ]]; then
# Fix issue with sed barfing on unicode characters on Mountain Lion
unset LC_ALL
export LC_CTYPE='C'
fi
exec /usr/bin/sed "$@"