aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Library/Formula/cmake.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/Library/Formula/cmake.rb b/Library/Formula/cmake.rb
index 0f053c06d..7684d25ce 100644
--- a/Library/Formula/cmake.rb
+++ b/Library/Formula/cmake.rb
@@ -74,9 +74,9 @@ class Cmake < Formula
def install
if build.with? "docs"
ENV.prepend_create_path "PYTHONPATH", buildpath+"sphinx/lib/python2.7/site-packages"
- %w[markupsafe docutils pygments jinja2 sphinx].each do |r|
- resource(r).stage { Language::Python.setup_install "python", buildpath/"sphinx" }
- end
+ resources.each do |r|
+ r.stage { Language::Python.setup_install "python", buildpath/"sphinx" }
+ end
# There is an existing issue around OS X & Python locale setting
# See http://bugs.python.org/issue18378#msg215215 for explanation