summaryrefslogtreecommitdiff
path: root/pkg/tools/with_venv.sh
diff options
context:
space:
mode:
authorchiiph <chiiph@delloise.(none)>2013-04-08 14:39:16 -0300
committerchiiph <chiiph@delloise.(none)>2013-04-08 14:39:16 -0300
commit472371e0a929ead968d4dff1894333f0ac3b82f9 (patch)
treef6fcdf0738cabaeff4f4449d03b92636269faa7e /pkg/tools/with_venv.sh
parent005b6ca29c75e0e0f583327b8afea601a90ed6e7 (diff)
parent42593d4c6bda51a544a72abc0f935633939dad49 (diff)
Merge remote-tracking branch 'kali/feature/test-auth' into develop
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 && $@