Set the default value for POWERLINE_TMUX_EXE

This commit is contained in:
ZyX 2015-02-20 22:36:39 +03:00
parent 1445b5a655
commit 8fff21d77b
1 changed files with 2 additions and 0 deletions

View File

@ -38,8 +38,10 @@ test_tmux() {
if test -z "$POWERLINE_TMUX_EXE" && test -d tests/bot-ci/deps/tmux ; then
for tmux in tests/bot-ci/deps/tmux/tmux-*/tmux ; do
export POWERLINE_TMUX_EXE="$PWD/$tmux"
test_tmux || true
done
else
export POWERLINE_TMUX_EXE="${POWERLINE_TMUX_EXE:-tmux}"
test_tmux || true
fi