Enclose command args in with_venv.sh

It will support argument with blanks.

Change-Id: Ic3a00bdafc11459e9726eb99c7bc637d385e859a
Closes-Bug: #1220937
This commit is contained in:
ZhiQiang Fan 2013-09-09 14:36:33 +08:00
parent 20a8a08333
commit 7809499dab
1 changed files with 1 additions and 1 deletions

View File

@ -1,4 +1,4 @@
#!/bin/bash
TOOLS=`dirname $0`
VENV=$TOOLS/../.venv
source $VENV/bin/activate && $@
source $VENV/bin/activate && "$@"