]> review.fuel-infra Code Review - openstack-build/heat-build.git/commitdiff
Enclose command args in with_venv.sh
authorZhiQiang Fan <aji.zqfan@gmail.com>
Mon, 9 Sep 2013 06:36:33 +0000 (14:36 +0800)
committerZhiQiang Fan <aji.zqfan@gmail.com>
Mon, 9 Sep 2013 06:36:33 +0000 (14:36 +0800)
It will support argument with blanks.

Change-Id: Ic3a00bdafc11459e9726eb99c7bc637d385e859a
Closes-Bug: #1220937

tools/with_venv.sh

index c8d2940fc7a6b5c7f51c04d17efd45d43caaea2e..550c4774e561f95a242c9d0ff5d0abecef8f7e4b 100755 (executable)
@@ -1,4 +1,4 @@
 #!/bin/bash
 TOOLS=`dirname $0`
 VENV=$TOOLS/../.venv
-source $VENV/bin/activate && $@
+source $VENV/bin/activate && "$@"