shims/sed: fix style inconsistencies

This commit is contained in:
Martin Afanasjew 2016-08-07 12:55:11 +02:00
parent 85c0b594ad
commit 2a943d0ad2

View File

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