From 8d4626ef816e9c7428b979d2063a8df9f62aaa5e Mon Sep 17 00:00:00 2001 From: Kenneth Reitz <me@kennethreitz.com> Date: Sat, 24 Mar 2012 00:16:21 -0400 Subject: [PATCH] =?UTF-8?q?echo=20"copying=20$dir=E2=80=A6"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/compile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/bin/compile b/bin/compile index 95ea01de..b5dabd66 100755 --- a/bin/compile +++ b/bin/compile @@ -41,14 +41,14 @@ CACHE_DIR=$2 NAME=$($BIN_DIR/detect $BUILD_DIR) # Where to store the Pip download cache. -CACHED_DIRS='.heroku' +CACHED_DIRS=".heroku" PIP_DOWNLOAD_CACHE=${PIP_DOWNLOAD_CACHE:-$CACHE_DIR/pip_downloads} # Static configurations for virtualenv caches. -LEGACY_VIRTUALENV_LOC='.' -MODERN_VIRTUALENV_LOC='.heroku/venv' +LEGACY_VIRTUALENV_LOC="." +MODERN_VIRTUALENV_LOC=".heroku/venv" LEGACY_VIRTUALENV_DIRS="bin include lib" -LEGACY_VIRTUALENV_TRIGGER='lib/python2.7' +LEGACY_VIRTUALENV_TRIGGER="lib/python2.7" # Python version. This will be used in the future to specify custom Pythons. @@ -123,6 +123,7 @@ fi # Restore old artifacts from the cache. for dir in $CACHED_DIRS; do + echo "copying $dir..." cp -R $CACHED_DIR/$dir . &> /dev/null || true done @@ -196,6 +197,7 @@ set -e # Store new artifacts in cache. for dir in $CACHED_DIRS; do + echo "copying $dir..." rm -rf $CACHE_DIR/$dir cp -R $dir $CACHE_DIR/ done -- GitLab