Commit f7ef15d7 authored by Kenneth Reitz's avatar Kenneth Reitz

restore cache

parent d084ac8a
......@@ -51,10 +51,10 @@ if [ -f "lib/python2.7" ]; then
fi
# Copy artifacts out of cache if exists.
# mkdir -p $CACHE_DIR
# for dir in $VIRTUALENV_DIRS; do
# cp -R $CACHE_DIR/$dir . &> /dev/null || true
# done
mkdir -p $CACHE_DIR
for dir in $VIRTUALENV_DIRS; do
cp -R $CACHE_DIR/$dir . &> /dev/null || true
done
# Create virtualenv. Rebuild if corrupt.
set +e
......@@ -62,9 +62,6 @@ set +e
echo "-----> Preparing Python interpreter ($PYTHON_VERSION)"
# PYTHON_EXE=$($BIN_DIR/python-build install $PYTHON_VERSION --quiet)
export BUILD_DIR
source $BIN_DIR/python-build
PYTHON_EXE=$BUILD_DIR/.vendor/python/bin/python
echo "-----> Preparing virtualenv version $(virtualenv --version)"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment