This commit is contained in:
Kenneth Reitz
2012-03-06 06:37:57 -05:00
parent 61a7ad7116
commit 71409e7712
+1
View File
@@ -75,6 +75,7 @@ OUT=$(virtualenv --python $PYTHON_EXE --distribute --never-download --prompt=ven
# If there's an error, purge and recreate.
[ $? -ne 0 ] && {
echo " ! Virtualenv corrupt, rebuilding."
echo OUT
for dir in $VIRTUALENV_DIRS; do
rm -fr $dir &> /dev/null || true
done