From dda67e278dcfb8f6a671c9f43ea03f8bb61c0fbd Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Wed, 15 Jul 2020 21:34:58 -0400 Subject: [PATCH] rehash executable path --- bin/steps/conda_compile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/bin/steps/conda_compile b/bin/steps/conda_compile index c7a1da5..34fe352 100755 --- a/bin/steps/conda_compile +++ b/bin/steps/conda_compile @@ -1,9 +1,16 @@ +#!/usr/bin/env bash + +export PATH=$BUILD_DIR/.heroku/miniconda/bin:$PATH + if [ ! -d /app/.heroku/miniconda ]; then puts-step "Preparing Python/Miniconda Environment" curl -Os https://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh bash Miniconda-latest-Linux-x86_64.sh -p /app/.heroku/miniconda/ -b | indent rm -fr Miniconda-latest-Linux-x86_64.sh + # Rehash executables in PATH. + hash -r + conda update conda conda install pip --yes | indent fi