]> code.ossystems Code Review - openembedded-core.git/commit
lib/oe/terminal: Fix tmux new-session on older tmux versions (<1.9)
authorPeter Budny <pbbudny@amazon.com>
Mon, 12 Apr 2021 20:23:17 +0000 (20:23 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 18 Apr 2021 10:26:16 +0000 (11:26 +0100)
commitc55c294be6f5119f4c58a4e7a0bc052904126569
treeef90d2e95d846ab1204dfdb875aa0089040cdecc
parent08b2c9a23ce43ed65a16f5f0714b19a571e1b54a
lib/oe/terminal: Fix tmux new-session on older tmux versions (<1.9)

`tmux new -c` fails on tmux older than 1.9, when that flag was added.
We can omit the flag for older versions of tmux, and the working
directory gets set even without it.

Signed-off-by: Peter Budny <pbbudny@amazon.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oe/terminal.py