From e2f031c321d25f16ed7620f45bc38687c0b0ed84 Mon Sep 17 00:00:00 2001 From: Bhuvan Arumugam Date: Fri, 13 Jul 2012 23:04:54 -0700 Subject: Fix venv wrapper to clean *.pyc. Bug: 1021392 With this fix the commands executed within virtual environment, including find command, are executed successfully. * tools/with_venv.sh Enclose command to execute in virtual environment within quotes. Change-Id: I886d70097090578e83adc20318600d16cc5ebead --- tools/with_venv.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') diff --git a/tools/with_venv.sh b/tools/with_venv.sh index c8d2940fc..550c4774e 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 && "$@" -- cgit