diff options
| author | Max Howell | 2012-08-27 08:48:02 -0400 |
|---|---|---|
| committer | Max Howell | 2012-08-29 12:41:35 -0400 |
| commit | 4f06d131dfffc9de625697c2135262f624534a6e (patch) | |
| tree | 990090b869764454cd30ebbe833e72f1e910ecf0 /Library/ENV | |
| parent | 1ec368759ea3b2a1aa7484988d3494b3ba212c95 (diff) | |
| download | brew-4f06d131dfffc9de625697c2135262f624534a6e.tar.bz2 | |
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.
Diffstat (limited to 'Library/ENV')
| -rwxr-xr-x | Library/ENV/4.3/sed | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Library/ENV/4.3/sed b/Library/ENV/4.3/sed new file mode 100755 index 000000000..420e39669 --- /dev/null +++ b/Library/ENV/4.3/sed @@ -0,0 +1,7 @@ +#!/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 "$@" |
