diff options
author | Tomás Touceda <chiiph@leap.se> | 2013-12-17 14:57:59 -0300 |
---|---|---|
committer | Tomás Touceda <chiiph@leap.se> | 2013-12-17 14:57:59 -0300 |
commit | bfd2489f12fbc0d944d43d66ed7f09e0f3881ecc (patch) | |
tree | d3f05ae98d5f7ccc746eb46295bb0890393b3bda /keymanager/pkg | |
parent | d7b4feaf4fa6161cd56a8898fe519ddb0635eb72 (diff) | |
parent | 06868daa749cf6ab4fc8038676f55a4500f13ec2 (diff) |
Merge remote-tracking branch 'refs/remotes/kali/feature/memoize-calls' into develop
Diffstat (limited to 'keymanager/pkg')
-rwxr-xr-x | keymanager/pkg/tools/with_venvwrapper.sh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/keymanager/pkg/tools/with_venvwrapper.sh b/keymanager/pkg/tools/with_venvwrapper.sh new file mode 100755 index 00000000..26229785 --- /dev/null +++ b/keymanager/pkg/tools/with_venvwrapper.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +#Wraps a command in a virtualenwrapper passed as first argument. +#Example: +#with_virtualenvwrapper.sh leap-bitmask ./run_tests.sh + +wd=`pwd` +source `which virtualenvwrapper.sh` +echo "Activating virtualenv " $1 +echo "------------------------------------" +workon $1 +cd $wd +echo "running version: " `pyver leap.keymanager` +echo "soledad version: " `pyver leap.soledad.common` +$2 $3 $4 $5 |