Commit 077d93e2 authored by Kenneth Reitz's avatar Kenneth Reitz

your bash foo is weak

parent 71409e77
...@@ -75,7 +75,7 @@ OUT=$(virtualenv --python $PYTHON_EXE --distribute --never-download --prompt=ven ...@@ -75,7 +75,7 @@ OUT=$(virtualenv --python $PYTHON_EXE --distribute --never-download --prompt=ven
# If there's an error, purge and recreate. # If there's an error, purge and recreate.
[ $? -ne 0 ] && { [ $? -ne 0 ] && {
echo " ! Virtualenv corrupt, rebuilding." echo " ! Virtualenv corrupt, rebuilding."
echo OUT echo $OUT
for dir in $VIRTUALENV_DIRS; do for dir in $VIRTUALENV_DIRS; do
rm -fr $dir &> /dev/null || true rm -fr $dir &> /dev/null || true
done done
......
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