]> 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)
committerAnuj Mittal <anuj.mittal@intel.com>
Thu, 22 Apr 2021 00:41:29 +0000 (08:41 +0800)
commitd049d7413b72c22388693b71c5901b2283f83df9
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>
(cherry picked from commit c55c294be6f5119f4c58a4e7a0bc052904126569)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
meta/lib/oe/terminal.py