aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/shims/super/sed
diff options
context:
space:
mode:
authorMike McQuaid2016-07-15 19:03:45 +0100
committerGitHub2016-07-15 19:03:45 +0100
commita02be9eea204264ce48827ac365c8b53b986d66a (patch)
treecf85e35e0992204cb9f1f938b831161433ca8fd4 /Library/Homebrew/shims/super/sed
parentde366f71b9c9fded0b5578bb4fef14139834038a (diff)
downloadbrew-a02be9eea204264ce48827ac365c8b53b986d66a.tar.bz2
ENV: move to new paths. (#507)
Move some stuff formerly in `Library/ENV` around: - Move `Library/ENV/$XCODE_VERSION` to `Library/Homebrew/env/super` as they are all superenv wrappers and all symlinks to the same version. We never needed the "separate shims for separate versions" functionality and it just adds confusion. - Move `Library/ENV/pkgconfig` to `Library/Homebrew/env/pkgconfig` to get more things under `Library/Homebrew` - Move `Library/ENV/scm` to `Library/scm` as these wrappers are not actually used by or related to superenv (or stdenv) in any way.
Diffstat (limited to 'Library/Homebrew/shims/super/sed')
-rwxr-xr-xLibrary/Homebrew/shims/super/sed7
1 files changed, 7 insertions, 0 deletions
diff --git a/Library/Homebrew/shims/super/sed b/Library/Homebrew/shims/super/sed
new file mode 100755
index 000000000..420e39669
--- /dev/null
+++ b/Library/Homebrew/shims/super/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 "$@"