remove old virtualenvs

This commit is contained in:
Kenneth Reitz
2012-12-20 03:23:28 -05:00
parent 1687f1cffe
commit 2d3033fc71
+1
View File
@@ -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