From 23384ca2eb0dd23091b66c315b68d716c68d9eb2 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Mon, 20 May 2013 12:09:28 -0400 Subject: [PATCH] Use backticks so that the command won't echo to the user. --- rakefiles/prereqs.rake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rakefiles/prereqs.rake b/rakefiles/prereqs.rake index 782bbb9d99..7cb509569f 100644 --- a/rakefiles/prereqs.rake +++ b/rakefiles/prereqs.rake @@ -30,7 +30,7 @@ desc "Install all python prerequisites for the lms and cms" task :install_python_prereqs => "ws:migrate" do Tempfile.open('pyinstalled') do |pyinstalled| # Read the names of everything in site-packages, and include them in the fingerprint. - sh("python -c 'import os; import distutils.sysconfig as dusc; print sorted(os.listdir(dusc.get_python_lib()))' > #{pyinstalled.path}") + `python -c 'import os; import distutils.sysconfig as dusc; print sorted(os.listdir(dusc.get_python_lib()))' > #{pyinstalled.path}` unchanged = 'Python requirements unchanged, nothing to install' when_changed(unchanged, 'requirements/**/*', pyinstalled.path) do ENV['PIP_DOWNLOAD_CACHE'] ||= '.pip_download_cache'