aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/cheat.rb
diff options
context:
space:
mode:
authorJack Nagel2014-07-18 22:42:47 -0500
committerJack Nagel2014-07-18 22:42:47 -0500
commit30bf648c3e9ffb24b2ed54560b1a7ba1b7196f0e (patch)
treea321611fedb9266e6ca962022d5110953432474b /Library/Formula/cheat.rb
parent24fc341c9272ea1a5a9c0abc4981bd41d9f96a25 (diff)
downloadhomebrew-30bf648c3e9ffb24b2ed54560b1a7ba1b7196f0e.tar.bz2
Simplify resource installation
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}"