From a334672a1a2814509f4bad06139786e497adbf3f Mon Sep 17 00:00:00 2001
From: Kenneth Reitz <me@kennethreitz.org>
Date: Wed, 7 Mar 2018 10:48:22 -0500
Subject: [PATCH] reorder things

Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
---
 bin/steps/pipenv | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/bin/steps/pipenv b/bin/steps/pipenv
index 51acbb3a..f1f8e7a3 100755
--- a/bin/steps/pipenv
+++ b/bin/steps/pipenv
@@ -31,6 +31,9 @@ if [ ! "$SKIP_PIPENV_INSTALL" ]; then
             # Measure that we're using Pipenv.
             mcount "tool.pipenv"
 
+            # Skip pip install, later.
+            export SKIP_PIP_INSTALL=1
+
             # Set PIP_EXTRA_INDEX_URL
             if [[ -r $ENV_DIR/PIP_EXTRA_INDEX_URL ]]; then
                 PIP_EXTRA_INDEX_URL="$(cat "$ENV_DIR/PIP_EXTRA_INDEX_URL")"
@@ -60,9 +63,6 @@ if [ ! "$SKIP_PIPENV_INSTALL" ]; then
                 /app/.heroku/python/bin/pipenv install --dev --system --deploy 2>&1 | cleanup | indent
             fi
 
-            # Skip pip install, later.
-            export SKIP_PIP_INSTALL=1
-
             # Pip freeze, for compatibility.
             pip freeze > requirements.txt
         fi
-- 
GitLab