From 7b29ad6eb9e378647d48907558759aca1df33979 Mon Sep 17 00:00:00 2001 From: Armin Ronacher Date: Sun, 27 Dec 2015 12:03:28 +0100 Subject: [PATCH] Update install.sh Fixed a python detection bug. --- assets/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/install.sh b/assets/install.sh index a81226c5..1128cd4c 100644 --- a/assets/install.sh +++ b/assets/install.sh @@ -103,7 +103,7 @@ if 1: os.makedirs(lib_dir) except OSError: pass - Popen(['./virtualenv.py', lib_dir], cwd=t).wait() + Popen([sys.executable, './virtualenv.py', lib_dir], cwd=t).wait() Popen([os.path.join(lib_dir, 'bin', 'pip'), 'install', '--upgrade', 'Lektor']).wait() os.symlink(os.path.join(lib_dir, 'bin', 'lektor'),