diff options
| author | Ville Lautanala | 2011-04-03 18:21:29 +0300 |
|---|---|---|
| committer | Adam Vandenberg | 2011-04-03 10:39:07 -0700 |
| commit | 95737dcc782481df02c2d85a2cfe03870da38c42 (patch) | |
| tree | 17fd1b721c1661c056d9b85716fcd2f00de58dc0 /Library | |
| parent | d3206645661a149edc7b624b35772f344da0dc74 (diff) | |
| download | homebrew-95737dcc782481df02c2d85a2cfe03870da38c42.tar.bz2 | |
sbcl: Remove non-ASCII values from environment
For more information, see http://bugs.gentoo.org/show_bug.cgi?id=174702
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/sbcl.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Library/Formula/sbcl.rb b/Library/Formula/sbcl.rb index 095691839..9d4d91b3e 100644 --- a/Library/Formula/sbcl.rb +++ b/Library/Formula/sbcl.rb @@ -52,6 +52,12 @@ class Sbcl < Formula def install write_features + # Remove non-ASCIi values from environment as they cause build failure + # More information: http://bugs.gentoo.org/show_bug.cgi?id=174702 + ENV.delete_if do |key, value| + !value.bytes.all? do |c| c <= 128 end + end + build_directory = Dir.pwd SbclBootstrapBinaries.new.brew { # We only need the binaries for bootstrapping, so don't install anything: |
