From: ZhiQiang Fan Date: Mon, 9 Sep 2013 06:36:33 +0000 (+0800) Subject: Enclose command args in with_venv.sh X-Git-Tag: 2014.1~52^2 X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=7809499daba573b4c3b783a0c603595cf7d03c85;p=openstack-build%2Fheat-build.git Enclose command args in with_venv.sh It will support argument with blanks. Change-Id: Ic3a00bdafc11459e9726eb99c7bc637d385e859a Closes-Bug: #1220937 --- diff --git a/tools/with_venv.sh b/tools/with_venv.sh index c8d2940f..550c4774 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 && "$@"