aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJack Nagel2014-09-14 14:30:17 -0500
committerJack Nagel2014-09-14 14:30:17 -0500
commite3da7b4dfabe5ac84cf2ffa66998477052041bce (patch)
treed6c05d42dda20bcd24c246aab74705ed3d2fa9f9 /Library/Formula
parentd83bada9beb19012d27689c2aa58687a3fe98f7b (diff)
downloadhomebrew-e3da7b4dfabe5ac84cf2ffa66998477052041bce.tar.bz2
juju: simplify install
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/juju.rb8
1 files changed, 3 insertions, 5 deletions
diff --git a/Library/Formula/juju.rb b/Library/Formula/juju.rb
index 07d7167e0..1eec06e55 100644
--- a/Library/Formula/juju.rb
+++ b/Library/Formula/juju.rb
@@ -14,11 +14,9 @@ class Juju < Formula
depends_on 'go' => :build
def install
- ENV['GOPATH'] = buildpath
- args = %w(install github.com/juju/juju/cmd/juju)
- args.insert(1, "-v") if ARGV.verbose?
- system "go", *args
- bin.install 'bin/juju'
+ ENV["GOPATH"] = buildpath
+ system "go", "build", "github.com/juju/juju/cmd/juju"
+ bin.install "juju"
bash_completion.install "src/github.com/juju/juju/etc/bash_completion.d/juju-core"
end