diff options
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/subversion.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Library/Formula/subversion.rb b/Library/Formula/subversion.rb index f74c3e483..45945d9b2 100644 --- a/Library/Formula/subversion.rb +++ b/Library/Formula/subversion.rb @@ -27,7 +27,7 @@ class Subversion < Formula depends_on :libtool if build.include? 'ruby' # If building bindings, allow non-system interpreters - env :userpaths if (build.include? 'perl') or (build.include? 'ruby') + env :userpaths if build.include? 'perl' or build.include? 'ruby' def patches ps = [] @@ -48,7 +48,7 @@ class Subversion < Formula fails_with :clang do build 318 cause "core.c:1: error: bad value (native) for -march= switch" - end if (build.include? 'perl') or (build.include? 'ruby') + end if build.include? 'perl' or build.include? 'ruby' def apr_bin superbin or "/usr/bin" @@ -79,7 +79,7 @@ class Subversion < Formula puts " brew install subversion --universal --java" end - unless (ENV["JAVA_HOME"] or "").empty? + ENV.fetch('JAVA_HOME') do opoo "JAVA_HOME is set. Try unsetting it if JNI headers cannot be found." end end |
