From 3c2839147f7de2df40e8f64543e7a4dc7645278e Mon Sep 17 00:00:00 2001
From: Patrick <patrick@dwnldmedia.com>
Date: Thu, 20 Nov 2014 12:24:21 -0500
Subject: [PATCH] sub-env pip-install

---
 bin/compile           | 2 +-
 bin/steps/pip-install | 6 +++++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/bin/compile b/bin/compile
index d2f72a58..f523cdf9 100755
--- a/bin/compile
+++ b/bin/compile
@@ -166,7 +166,7 @@ source $BIN_DIR/steps/pylibmc
 source $BIN_DIR/steps/cryptography
 
 # Install dependencies with Pip.
-source $BIN_DIR/steps/pip-install
+sub-env $BIN_DIR/steps/pip-install
 
 # Django collectstatic support.
 sub-env $BIN_DIR/steps/collectstatic
diff --git a/bin/steps/pip-install b/bin/steps/pip-install
index 00aabd79..05b97ab7 100755
--- a/bin/steps/pip-install
+++ b/bin/steps/pip-install
@@ -1,3 +1,7 @@
+#!/usr/bin/env bash
+
+source $BIN_DIR/utils
+
 # Install dependencies with Pip.
 puts-step "Installing dependencies with pip"
 
@@ -13,4 +17,4 @@ cp requirements.txt .heroku/python/requirements-declared.txt
 [ ! "$FRESH_PYTHON" ] && bpwatch stop pip_install
 [ "$FRESH_PYTHON" ] && bpwatch stop pip_install_first
 
-echo
\ No newline at end of file
+echo
-- 
GitLab