From 4f06d131dfffc9de625697c2135262f624534a6e Mon Sep 17 00:00:00 2001 From: Max Howell Date: Mon, 27 Aug 2012 08:48:02 -0400 Subject: 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. --- Library/ENV/4.3/sed | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 Library/ENV/4.3/sed (limited to 'Library/ENV') 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 "$@" -- cgit v1.2.3