From f7a03abc1f7ce26791f237ac5f28b1d864b98fec Mon Sep 17 00:00:00 2001 From: Zhenguo Niu Date: Mon, 9 Sep 2013 14:17:40 +0800 Subject: [PATCH] Enclose command args in with_venv.sh It will support argument with blanks. Change-Id: I4e40cdd2be67c2f306ce53f297b7a830730d1bc7 Fixes: bug #1220937 --- tools/with_venv.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/with_venv.sh b/tools/with_venv.sh index c8d2940fc7..550c4774e5 100755 --- a/tools/with_venv.sh +++ b/tools/with_venv.sh @@ -1,4 +1,4 @@ #!/bin/bash TOOLS=`dirname $0` VENV=$TOOLS/../.venv -source $VENV/bin/activate && $@ +source $VENV/bin/activate && "$@"