aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Afanasjew2016-08-07 12:55:11 +0200
committerMartin Afanasjew2016-08-08 16:00:12 +0200
commit2a943d0ad22b27e76b8ada687902f1f9cf22d3fb (patch)
treee67441aeeac63c97482acac4a6bdc764b5050c45
parent85c0b594ad89e876eae6a94141a228be0f5982b4 (diff)
downloadbrew-2a943d0ad22b27e76b8ada687902f1f9cf22d3fb.tar.bz2
shims/sed: fix style inconsistencies
-rwxr-xr-xLibrary/Homebrew/shims/super/sed6
1 files changed, 4 insertions, 2 deletions
diff --git a/Library/Homebrew/shims/super/sed b/Library/Homebrew/shims/super/sed
index 420e39669..7b1313dac 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 "$@"