aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2012-02-12 10:54:28 -0800
committerAdam Vandenberg2012-02-12 20:08:56 -0800
commit0aad9269331a7faef3a1df7667435e6071510db3 (patch)
treebad7acad3bb7781f7812fba13fc0b47757281d9f /Library/Formula
parent3a3d75baacdfae3ed97a9be6700e17ad80edb46f (diff)
downloadhomebrew-0aad9269331a7faef3a1df7667435e6071510db3.tar.bz2
bazaar: use install_symlink
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/bazaar.rb7
1 files changed, 3 insertions, 4 deletions
diff --git a/Library/Formula/bazaar.rb b/Library/Formula/bazaar.rb
index 66fac89e0..d33b9b71a 100644
--- a/Library/Formula/bazaar.rb
+++ b/Library/Formula/bazaar.rb
@@ -1,9 +1,9 @@
require 'formula'
class Bazaar < Formula
+ homepage 'http://bazaar-vcs.org/'
url 'http://launchpad.net/bzr/2.4/2.4.2/+download/bzr-2.4.2.tar.gz'
md5 'cfc06fddd348445c65a247c0b33a05db'
- homepage 'http://bazaar-vcs.org/'
def options
[["--system", "Install using the OS X system Python."]]
@@ -34,10 +34,9 @@ class Bazaar < Formula
system "make"
inreplace "bzr", "#! /usr/bin/env python", "#!/usr/bin/python" if ARGV.include? "--system"
- libexec.install ['bzr', 'bzrlib']
+ libexec.install 'bzr', 'bzrlib'
- bin.mkpath
- ln_s libexec+'bzr', bin+'bzr'
+ bin.install_symlink libexec+'bzr'
end
def caveats