aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/sbcl.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2011-07-06 15:43:17 -0700
committerAdam Vandenberg2011-07-06 15:43:17 -0700
commit4dcb809154cf2271618b8cc8b8877e578e1ce99f (patch)
tree7cb05314dd70130fc6c9701eb885f644e58e775e /Library/Formula/sbcl.rb
parent225182c9ff719059e1ab48f2c8c4c37c573ab8fb (diff)
downloadhomebrew-4dcb809154cf2271618b8cc8b8877e578e1ce99f.tar.bz2
sbcl: use ruby 1.8.6 compat. method for finding non-printables
Diffstat (limited to 'Library/Formula/sbcl.rb')
-rw-r--r--Library/Formula/sbcl.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/sbcl.rb b/Library/Formula/sbcl.rb
index e097cf89a..396ab7d7d 100644
--- a/Library/Formula/sbcl.rb
+++ b/Library/Formula/sbcl.rb
@@ -55,7 +55,7 @@ class Sbcl < Formula
# Remove non-ASCII values from environment as they cause build failures
# More information: http://bugs.gentoo.org/show_bug.cgi?id=174702
ENV.delete_if do |key, value|
- value.bytes.any? do |c| 128 <= c end
+ value =~ /[\x80-\xff]/
end
build_directory = Dir.pwd