From 4dcb809154cf2271618b8cc8b8877e578e1ce99f Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Wed, 6 Jul 2011 15:43:17 -0700 Subject: sbcl: use ruby 1.8.6 compat. method for finding non-printables --- Library/Formula/sbcl.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library/Formula') 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 -- cgit v1.2.3