From bf4207e9fcd51227bddd47b35059af318e6f97ff Mon Sep 17 00:00:00 2001 From: Roman Zeyde Date: Tue, 27 Mar 2018 22:21:07 +0300 Subject: [PATCH] electrum-env: run from script's dir --- electrum-env | 1 + 1 file changed, 1 insertion(+) diff --git a/electrum-env b/electrum-env index c05b2d1ab..1c2e6a4e3 100755 --- a/electrum-env +++ b/electrum-env @@ -11,6 +11,7 @@ PYTHON_VER="$(python3 -c 'import sys; print(sys.version[:3])')" +cd $(dirname $0) if [ -e ./env/bin/activate ]; then source ./env/bin/activate else