Enclose command args in with_venv.sh

It will support argument with blanks.

Change-Id: I4e40cdd2be67c2f306ce53f297b7a830730d1bc7
Fixes: bug #1220937
This commit is contained in:
Zhenguo Niu 2013-09-09 14:17:40 +08:00
parent 46462b122e
commit f7a03abc1f
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 && "$@"