aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/cheat.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/cheat.rb')
-rw-r--r--Library/Formula/cheat.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/Library/Formula/cheat.rb b/Library/Formula/cheat.rb
index 967d92ed3..eff9a218b 100644
--- a/Library/Formula/cheat.rb
+++ b/Library/Formula/cheat.rb
@@ -29,10 +29,8 @@ class Cheat < Formula
ENV["PYTHONPATH"] = lib+"python2.7/site-packages"
ENV.prepend_create_path "PYTHONPATH", libexec+"lib/python2.7/site-packages"
- install_args = [ "setup.py", "install", "--prefix=#{libexec}" ]
-
resources.each do |r|
- r.stage { system "python", *install_args }
+ r.stage { system "python", "setup.py", "install", "--prefix=#{libexec}" }
end
system "python", "setup.py", "install", "--prefix=#{prefix}"