Sergey Kraynev 9bed165c30 Fix shellcheck errors for LBaaS apps
Current patch fixes shell issues in LBaaS apps reported by test run:
tox -e shellcheck
All LB related scripts were fixed according command output.

Change-Id: Ia24f2ba25d7818cb05d064a9fc7f5f4617f714d8
2016-08-01 15:12:45 +03:00

7 lines
202 B
Bash
Executable File

#!/bin/bash
tools_path=${tools_path:-$(dirname "$0")}
venv_path=${venv_path:-${tools_path}}
venv_dir=${venv_name:-/../.venv}
VENV=${venv:-${venv_path}/${venv_dir}}
source "${VENV}/bin/activate" && "$@"