summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBhuvan Arumugam <bhuvan@apache.org>2012-07-13 23:04:54 -0700
committerBhuvan Arumugam <bhuvan@apache.org>2012-07-13 23:04:54 -0700
commite2f031c321d25f16ed7620f45bc38687c0b0ed84 (patch)
tree4945a3a444736e9ace5d36f0955e972af771c9ac
parent3f878560229c82d52904f13419259a4e63ab6a05 (diff)
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
-rwxr-xr-xtools/with_venv.sh2
1 files changed, 1 insertions, 1 deletions
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 && "$@"