Use LC_CTYPE rather than LANG for most specific ML sed fix.

Fix Homebrew/homebrew#11728, fix Homebrew/homebrew#12890, fix Homebrew/homebrew#13653, fix Homebrew/homebrew#13734, fix Homebrew/homebrew#13787, fix Homebrew/homebrew#13818,
fix Homebrew/homebrew#13939.
This commit is contained in:
Mike McQuaid 2012-08-04 10:48:23 +01:00
parent cdc987286a
commit 385e5dacd2

View File

@ -12,7 +12,7 @@ module HomebrewEnvExtension
if MacOS.mountain_lion? if MacOS.mountain_lion?
# Fix issue with sed barfing on unicode characters on Mountain Lion. # Fix issue with sed barfing on unicode characters on Mountain Lion.
delete('LC_ALL') delete('LC_ALL')
self['LANG']="C" self['LC_CTYPE']="C"
# Mountain Lion no longer ships a few .pcs; make sure we pick up our versions # Mountain Lion no longer ships a few .pcs; make sure we pick up our versions
prepend 'PKG_CONFIG_PATH', prepend 'PKG_CONFIG_PATH',