Enclose command args in with_venv.sh

It will support argument with blanks.

Change-Id: I83313290a964bf10fe46570f43cf213ceab8a326
Fixes: bug #1220937
This commit is contained in:
Zhenguo Niu 2013-09-09 14:58:02 +08:00
parent 1a8c62acb9
commit d4b324573f

View File

@ -27,4 +27,4 @@ while getopts ":hE:" opt; do
done
shift $((OPTIND-1))
source "${venv}/bin/activate" && $@
source "${venv}/bin/activate" && "$@"