aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/subversion.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2014-03-05 21:28:31 -0800
committerAdam Vandenberg2014-03-07 07:08:52 -0800
commitb0ae186a3dde2c47f1742b9125941792b46f42fd (patch)
tree82fca9a30afd99916b0d03b4bd61d521bb52ea7a /Library/Formula/subversion.rb
parent4f3188bcef0dd96f9b010d199d903b02ed929295 (diff)
downloadhomebrew-b0ae186a3dde2c47f1742b9125941792b46f42fd.tar.bz2
use opt shortcuts
Diffstat (limited to 'Library/Formula/subversion.rb')
-rw-r--r--Library/Formula/subversion.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/subversion.rb b/Library/Formula/subversion.rb
index 0db1e9afd..1a1c0a525 100644
--- a/Library/Formula/subversion.rb
+++ b/Library/Formula/subversion.rb
@@ -180,7 +180,7 @@ class Subversion < Formula
system "make", "install-swig-pl", "DESTDIR=#{prefix}"
# Some of the libraries get installed into the wrong place, they end up having the
# prefix in the directory name twice.
- mv Dir.glob("#{prefix}/#{lib}/*"), "#{lib}"
+ mv Dir["#{prefix}/#{lib}/*"], "#{lib}"
end
if build.include? 'java'
@@ -203,7 +203,7 @@ class Subversion < Formula
def caveats
s = <<-EOS.undent
svntools have been installed to:
- #{opt_prefix}/libexec
+ #{opt_libexec}
EOS
if build.include? 'perl'