From 0c4aa4889508ed14487d41665b9bf4c4e51b7bb0 Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Mon, 5 Feb 2018 11:40:44 -0800 Subject: [PATCH] provision: Clean up error message for missing virtualenv. This new message should be clearer; it does come up occasionally. --- tools/provision | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/provision b/tools/provision index 44f6a3a921..c5716859f9 100755 --- a/tools/provision +++ b/tools/provision @@ -41,12 +41,12 @@ if [ $failed = 1 ]; then exit 1 elif [ "$VIRTUAL_ENV" != "/srv/zulip-py3-venv" ] && [ -z "${TRAVIS}${SKIP_VENV_SHELL_WARNING}" ]; then echo -e "$WARNING" - echo "WARNING: This shell does not have the Python 3 virtualenv activated." - echo "Zulip commands will fail." + echo "WARNING: This shell does not have the Zulip Python 3 virtualenv activated." + echo "Zulip commands will fail until you activate the virtualenv." echo echo "To update the shell, run:" echo " source /srv/zulip-py3-venv/bin/activate" - echo "or just close this shell and start a new one." + echo "or just close this shell and start a new one (with Vagrant, `vagrant ssh`)." echo -en "$ENDC" fi exit 0