Commit 889b777e authored by Kenneth Reitz's avatar Kenneth Reitz

debugs

parent 8d4626ef
...@@ -99,6 +99,9 @@ fi ...@@ -99,6 +99,9 @@ fi
# ### The Cache # ### The Cache
mkdir -p $CACHE_DIR mkdir -p $CACHE_DIR
# Create set-aside `.heroku` folder.
mkdir -p .heroku
# Nice defaults. # Nice defaults.
LEGACY_VIRTUALENV=false LEGACY_VIRTUALENV=false
VIRTUALENV_LOC=$MODERN_VIRTUALENV_LOC VIRTUALENV_LOC=$MODERN_VIRTUALENV_LOC
...@@ -124,7 +127,10 @@ fi ...@@ -124,7 +127,10 @@ fi
# Restore old artifacts from the cache. # Restore old artifacts from the cache.
for dir in $CACHED_DIRS; do for dir in $CACHED_DIRS; do
echo "copying $dir..." echo "copying $dir..."
echo "$ ls $CACHED_DIR/$dir"
ls $CACHED_DIR/$dir
cp -R $CACHED_DIR/$dir . &> /dev/null || true cp -R $CACHED_DIR/$dir . &> /dev/null || true
ls $dir
done done
...@@ -153,9 +159,6 @@ echo "$OUT" | indent ...@@ -153,9 +159,6 @@ echo "$OUT" | indent
set -e set -e
# Create set-aside `.heroku` folder.
mkdir -p .heroku
# Pylibmc support. # Pylibmc support.
# See [`bin/steps/pylibmc`](pylibmc.html). # See [`bin/steps/pylibmc`](pylibmc.html).
source $BIN_DIR/steps/pylibmc source $BIN_DIR/steps/pylibmc
...@@ -198,8 +201,13 @@ set -e ...@@ -198,8 +201,13 @@ set -e
# Store new artifacts in cache. # Store new artifacts in cache.
for dir in $CACHED_DIRS; do for dir in $CACHED_DIRS; do
echo "copying $dir..." echo "copying $dir..."
echo "$ ls $CACHED_DIR/$dir"
ls $CACHED_DIR/$dir
rm -rf $CACHE_DIR/$dir rm -rf $CACHE_DIR/$dir
ls $dir
cp -R $dir $CACHE_DIR/ cp -R $dir $CACHE_DIR/
ls $CACHE_DIR/
done done
# ### Fin. # ### Fin.
\ No newline at end of file
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