Allow specifying path to libvterm from environment

Uses POWERLINE_LIBVTERM environment variable.
This commit is contained in:
ZyX 2015-02-20 23:48:26 +03:00
parent 8629999379
commit 0a0af212ad
1 changed files with 1 additions and 1 deletions

View File

@ -106,7 +106,7 @@ def main(attempts=3):
if os.path.exists('tests/bot-ci/deps/libvterm/libvterm.so'):
lib = 'tests/bot-ci/deps/libvterm/libvterm.so'
else:
lib = 'libvterm.so'
lib = os.environ.get('POWERLINE_LIBVTERM', 'libvterm.so')
try:
p = ExpectProcess(