deb-heat/tools/with_venv.sh
ZhiQiang Fan 7809499dab Enclose command args in with_venv.sh
It will support argument with blanks.

Change-Id: Ic3a00bdafc11459e9726eb99c7bc637d385e859a
Closes-Bug: #1220937
2013-09-09 14:36:33 +08:00

5 lines
86 B
Bash
Executable File

#!/bin/bash
TOOLS=`dirname $0`
VENV=$TOOLS/../.venv
source $VENV/bin/activate && "$@"