From 2d3033fc71d21b39c2ad71e761fcfd7f89a6a53c Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Thu, 20 Dec 2012 03:23:28 -0500 Subject: [PATCH] remove old virtualenvs --- bin/compile | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/compile b/bin/compile index 4cdf365..e67384b 100755 --- a/bin/compile +++ b/bin/compile @@ -109,6 +109,7 @@ mkdir -p $CACHE_DIR # Purge "old-style" virtualenvs. [ -d $CACHE_DIR/$LEGACY_TRIGGER ] && rm -fr $CACHE_DIR/* +[ -d $CACHE_DIR/$VIRTUALENV_LOC ] && rm -fr $CACHE_DIR/* # Restore old artifacts from the cache. for dir in $CACHED_DIRS; do