From a0029a8411eb34a8e983b6b389714fbb4ed403cf Mon Sep 17 00:00:00 2001 From: Kenneth Reitz <me@kennethreitz.com> Date: Fri, 1 Aug 2014 18:10:15 -0400 Subject: [PATCH] suppress pip-grep errors --- bin/steps/cryptography | 2 +- bin/steps/pylibmc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/steps/cryptography b/bin/steps/cryptography index d44c01cd..fcb624c3 100755 --- a/bin/steps/cryptography +++ b/bin/steps/cryptography @@ -20,7 +20,7 @@ source $BIN_DIR/utils bpwatch start libffi_install # If pylibmc exists within requirements, use vendored cryptography. -if (pip-grep -s requirements.txt cffi pylibmc) then +if (pip-grep -s requirements.txt cffi pylibmc &> /dev/null) then if [ -d ".heroku/vendor/lib/libffi-3.1.1" ]; then export LIBFFI=$(pwd)/vendor diff --git a/bin/steps/pylibmc b/bin/steps/pylibmc index d3fb5575..18983029 100755 --- a/bin/steps/pylibmc +++ b/bin/steps/pylibmc @@ -19,7 +19,7 @@ source $BIN_DIR/utils bpwatch start pylibmc_install # If pylibmc exists within requirements, use vendored libmemcached. -if (pip-grep -s requirements.txt pylibmc) then +if (pip-grep -s requirements.txt pylibmc &> /dev/null) then if [ -d ".heroku/vendor/lib/sasl2" ]; then export LIBMEMCACHED=$(pwd)/vendor -- GitLab