Merge pull request #4189 from romanz/env-fix

electrum-env:  allow running from other directories as well
This commit is contained in:
ThomasV 2018-03-27 22:20:50 +02:00 committed by GitHub
commit fcfdba14bd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,6 +11,7 @@
PYTHON_VER="$(python3 -c 'import sys; print(sys.version[:3])')" PYTHON_VER="$(python3 -c 'import sys; print(sys.version[:3])')"
cd $(dirname $0)
if [ -e ./env/bin/activate ]; then if [ -e ./env/bin/activate ]; then
source ./env/bin/activate source ./env/bin/activate
else else