From 2a943d0ad22b27e76b8ada687902f1f9cf22d3fb Mon Sep 17 00:00:00 2001 From: Martin Afanasjew Date: Sun, 7 Aug 2016 12:55:11 +0200 Subject: [PATCH] shims/sed: fix style inconsistencies --- Library/Homebrew/shims/super/sed | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Library/Homebrew/shims/super/sed b/Library/Homebrew/shims/super/sed index 420e39669f..7b1313dac0 100755 --- a/Library/Homebrew/shims/super/sed +++ b/Library/Homebrew/shims/super/sed @@ -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 "$@"