aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJack Nagel2013-07-25 22:23:33 -0500
committerJack Nagel2013-07-25 22:28:11 -0500
commite454140e0cf55e6361b3f607a755512f2fdca91e (patch)
tree42830a2327f82b873d36fcc6c22d306616ef6f9a /Library/Formula
parentdbc76e58101504953d94f9677ec8c53db45e73d8 (diff)
downloadhomebrew-e454140e0cf55e6361b3f607a755512f2fdca91e.tar.bz2
subversion: style
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/subversion.rb6
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