diff options
| author | Jack Nagel | 2014-07-18 22:42:47 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-07-18 22:42:47 -0500 |
| commit | 30bf648c3e9ffb24b2ed54560b1a7ba1b7196f0e (patch) | |
| tree | a321611fedb9266e6ca962022d5110953432474b /Library/Formula/cheat.rb | |
| parent | 24fc341c9272ea1a5a9c0abc4981bd41d9f96a25 (diff) | |
| download | homebrew-30bf648c3e9ffb24b2ed54560b1a7ba1b7196f0e.tar.bz2 | |
Simplify resource installation
Diffstat (limited to 'Library/Formula/cheat.rb')
| -rw-r--r-- | Library/Formula/cheat.rb | 4 |
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}" |
