Update install.sh

Fixed a python detection bug.
This commit is contained in:
Armin Ronacher 2015-12-27 12:03:28 +01:00
parent 7ff2e371ca
commit 7b29ad6eb9
1 changed files with 1 additions and 1 deletions

View File

@ -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'),