mirror of
https://github.com/kennethreitz/heroku-buildpack-python.git
synced 2026-06-05 23:10:16 +00:00
working dir fix
This commit is contained in:
+2
-1
@@ -124,7 +124,6 @@ if [ ! "$SKIP_INSTALL" ]; then
|
||||
|
||||
# Record for future reference.
|
||||
echo $PYTHON_VERSION > .heroku/python-version
|
||||
WORKING_DIR=$(pwd)
|
||||
FRESH_PYTHON=true
|
||||
|
||||
hash -r
|
||||
@@ -134,6 +133,8 @@ fi
|
||||
|
||||
# If Pip isn't up to date:
|
||||
if [ "$FRESH_PYTHON" ] || [[ ! $(pip --version) == *$PIP_VERSION* ]]; then
|
||||
WORKING_DIR=$(pwd)
|
||||
|
||||
# Prepare it for the real world
|
||||
puts-step "Installing Distribute ($DISTRIBUTE_VERSION)"
|
||||
cd $ROOT_DIR/vendor/distribute-$DISTRIBUTE_VERSION/
|
||||
|
||||
Reference in New Issue
Block a user