Skip to content

Commit

Permalink
shims/sed: fix style inconsistencies
Browse files Browse the repository at this point in the history
  • Loading branch information
UniqMartin committed Aug 8, 2016
1 parent 85c0b59 commit 2a943d0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Library/Homebrew/shims/super/sed
Original file line number Diff line number Diff line change
@@ -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 "$@"

0 comments on commit 2a943d0

Please sign in to comment.