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
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
TOOLS=`dirname $0`
|
TOOLS=`dirname $0`
|
||||||
VENV=$TOOLS/../.venv
|
VENV=$TOOLS/../.venv
|
||||||
source $VENV/bin/activate && $@
|
source $VENV/bin/activate && "$@"
|
||||||
|
|||||||
Reference in New Issue
Block a user