From 889b777eeb8e4c34222ad4cb1cf422ffd6a4478a Mon Sep 17 00:00:00 2001
From: Kenneth Reitz <me@kennethreitz.com>
Date: Sat, 24 Mar 2012 00:24:30 -0400
Subject: [PATCH] debugs

---
 bin/compile | 14 +++++++++++---
 1 file changed, 11 insertions(+), 3 deletions(-)

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