mirror of
https://github.com/zardus/ctf-tools
synced 2024-12-13 14:32:34 +00:00
Properly source also on ubuntu
This commit is contained in:
parent
abf6c16250
commit
21876d00d7
1 changed files with 2 additions and 1 deletions
|
@ -23,7 +23,8 @@ if [[ ! -d "$WORKON_HOME" ]]; then
|
|||
fi
|
||||
export VIRTUALENVWRAPPER_PYTHON=/usr/bin/python3
|
||||
|
||||
source $(which virtualenvwrapper.sh)
|
||||
source /etc/bash_completion.d/virtualenvwrapper \
|
||||
|| source $(which virtualenvwrapper.sh)
|
||||
|
||||
if ! workon "$CTF_TOOLS_VE" 2>&1 1>/dev/null; then
|
||||
echo "#### Creating python#PY_VERSION virtualenv '$CTF_TOOLS_VE' ####" >&2
|
||||
|
|
Loading…
Reference in a new issue