aboutsummaryrefslogtreecommitdiffstats
path: root/Library/ENV
diff options
context:
space:
mode:
Diffstat (limited to 'Library/ENV')
-rwxr-xr-xLibrary/ENV/4.3/sed7
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 "$@"