aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorVille Lautanala2011-04-03 18:21:29 +0300
committerAdam Vandenberg2011-04-03 10:39:07 -0700
commit95737dcc782481df02c2d85a2cfe03870da38c42 (patch)
tree17fd1b721c1661c056d9b85716fcd2f00de58dc0 /Library/Formula
parentd3206645661a149edc7b624b35772f344da0dc74 (diff)
downloadhomebrew-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/Formula')
-rw-r--r--Library/Formula/sbcl.rb6
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: