From 93b707eae54a2874d658560641c2c36c6bf943b8 Mon Sep 17 00:00:00 2001
From: Kenneth Reitz <me@kennethreitz.org>
Date: Thu, 3 Dec 2015 13:28:01 -0500
Subject: [PATCH] let's try pipestatus

---
 bin/steps/pip-install | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/steps/pip-install b/bin/steps/pip-install
index 6ef55b4d..036de4b2 100755
--- a/bin/steps/pip-install
+++ b/bin/steps/pip-install
@@ -6,7 +6,7 @@ puts-step "Installing dependencies with pip"
 
 set +e
 /app/.heroku/python/bin/pip install -r requirements.txt --exists-action=w --src=./.heroku/src --allow-all-external --disable-pip-version-check --no-cache-dir | cleanup | log-output | indent
-PIP_STATUS="$?"
+PIP_STATUS="${PIPESTATUS[0]}"
 set -e
 
 echo "$PIP_STATUS"
-- 
GitLab