working dir fix

This commit is contained in:
Kenneth Reitz
2013-03-07 23:11:06 -05:00
parent c9209ebb3d
commit 7381117bb8
+2 -1
View File
@@ -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/