summaryrefslogtreecommitdiff
path: root/pkg/tools/with_venv.sh
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/tools/with_venv.sh')
-rwxr-xr-xpkg/tools/with_venv.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg/tools/with_venv.sh b/pkg/tools/with_venv.sh
new file mode 100755
index 00000000..0e58f1ab
--- /dev/null
+++ b/pkg/tools/with_venv.sh
@@ -0,0 +1,4 @@
+#!/bin/bash
+TOOLS=`dirname $0`
+VENV=$TOOLS/../../.venv
+source $VENV/bin/activate && $@