diff options
| author | Adam Vandenberg | 2011-07-06 15:43:17 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2011-07-06 15:43:17 -0700 |
| commit | 4dcb809154cf2271618b8cc8b8877e578e1ce99f (patch) | |
| tree | 7cb05314dd70130fc6c9701eb885f644e58e775e /Library/Formula/sbcl.rb | |
| parent | 225182c9ff719059e1ab48f2c8c4c37c573ab8fb (diff) | |
| download | homebrew-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.rb | 2 |
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 |
