fix perms in venv
This commit is contained in:
parent
4f156e96f9
commit
1be46596a8
1 changed files with 2 additions and 0 deletions
|
@ -1,5 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
script_dir=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
|
script_dir=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
|
||||||
|
mkdir -p "${script_dir}/.venv/"
|
||||||
|
chmod +rwx "${script_dir}/.venv/"
|
||||||
if [ ! -d "${script_dir}/.venv/${USER}/" ]; then
|
if [ ! -d "${script_dir}/.venv/${USER}/" ]; then
|
||||||
python -m venv "${script_dir}/.venv/${USER}"
|
python -m venv "${script_dir}/.venv/${USER}"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue