aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/fabric.rb6
1 files changed, 2 insertions, 4 deletions
diff --git a/Library/Formula/fabric.rb b/Library/Formula/fabric.rb
index 90c75210c..d482893dc 100644
--- a/Library/Formula/fabric.rb
+++ b/Library/Formula/fabric.rb
@@ -33,10 +33,8 @@ class Fabric < Formula
ENV.prepend_create_path "PYTHONPATH", libexec + "lib/python2.7/site-packages"
ENV.prepend_create_path "PYTHONPATH", prefix + "lib/python2.7/site-packages"
- res = %w[ecdsa pycrypto paramiko]
- install_args = "setup.py", "install", "--prefix=#{libexec}"
- res.each do |r|
- resource(r).stage { system "python", *install_args }
+ resources.each do |r|
+ r.stage { system "python", "setup.py", "install", "--prefix=#{libexec}" }
end
system "python", "setup.py", "install", "--prefix=#{libexec}"