aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/awscli.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/awscli.rb')
-rw-r--r--Library/Formula/awscli.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/Library/Formula/awscli.rb b/Library/Formula/awscli.rb
index aa1447135..1780ba80b 100644
--- a/Library/Formula/awscli.rb
+++ b/Library/Formula/awscli.rb
@@ -80,10 +80,12 @@ class Awscli < Formula
ENV.prepend_create_path "PYTHONPATH", libexec/"vendor/lib/python2.7/site-packages"
resources.each do |r|
- r.stage { Language::Python.setup_install "python", libexec/"vendor" }
+ r.stage do
+ system "python", *Language::Python.setup_install_args(libexec/"vendor")
+ end
end
- Language::Python.setup_install "python", libexec
+ system "python", *Language::Python.setup_install_args(libexec)
# Install zsh completion
zsh_completion.install "bin/aws_zsh_completer.sh" => "_aws"