diff --git a/Library/Homebrew/extend/ENV.rb b/Library/Homebrew/extend/ENV.rb index b07e6d006d..7b02148167 100644 --- a/Library/Homebrew/extend/ENV.rb +++ b/Library/Homebrew/extend/ENV.rb @@ -12,7 +12,7 @@ module HomebrewEnvExtension if MacOS.mountain_lion? # Fix issue with sed barfing on unicode characters on Mountain Lion. 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 prepend 'PKG_CONFIG_PATH',