From ef592ad9957579f24e5b66d5489b90ffe6f8b2b2 Mon Sep 17 00:00:00 2001 From: kytv Date: Sun, 1 Sep 2013 00:05:24 +0000 Subject: [PATCH] only allow "forward" patches & exit 1 if virtualenv isn't found --- setup_venv.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup_venv.sh b/setup_venv.sh index e9ed695b..9b3b3a40 100755 --- a/setup_venv.sh +++ b/setup_venv.sh @@ -4,6 +4,7 @@ set -e if [ ! $venv ]; then echo "ERROR: virtualenv not found!" >&2 + exit 1 else if [ ! -d $venv_dir ] ; then $venv --distribute $venv_dir @@ -12,5 +13,5 @@ else . $venv_dir/bin/activate pip install -r etc/reqs.txt # Apply multi-domain patch to Flask-Babel - patch -p0