Fix the variable ref from #803

The version of shellcheck that was previously running on bootstrap PRs
was out of date and not catching the fact that the VIRTUAL_ENV variable
didn't exist. That variable should be _VIRTUALENV_DIR instead.
This commit is contained in:
rallytime 2018-05-10 16:16:17 -04:00
parent 0d502f2272
commit 6d59599676
No known key found for this signature in database
GPG key ID: E8F1A4B90D0DEA19

View file

@ -2394,7 +2394,7 @@ __create_virtualenv() {
__activate_virtualenv() {
set +o nounset
# Is virtualenv empty
if [ -z "$VIRTUAL_ENV" ]; then
if [ -z "$_VIRTUALENV_DIR" ]; then
__create_virtualenv || return 1
# shellcheck source=/dev/null
. "${_VIRTUALENV_DIR}/bin/activate" || return 1