We've renamed the venvs. with_venv.sh is a file.

Change-Id: Ib2be81ef04539b7bf6d348e4f1525ba58a4829ef
This commit is contained in:
Monty Taylor
2011-12-14 09:26:06 -05:00
parent e0c2cd4ff4
commit 188570fb60

View File

@@ -100,7 +100,7 @@ SEPARATOR=${SEPARATOR:-'~'}
rm -f dist/*.tar.gz
if [ -f setup.py ] ; then
# swift has no virtualenv information in its tree.
if [ -d .*-venv -o -d tools/with_venv.sh ] ; then
if [ -d .venv -o -f tools/with_venv.sh ] ; then
tools/with_venv.sh python setup.py sdist
else
python setup.py sdist