]> 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>
Tue, 20 Apr 2021 02:32:46 +0000 (10:32 +0800)
commitf1a5ca0b833e3f5bc7e4ccf8d75f0c5296fa9ea5
treec40729f3f6afa8f7f5306cf5b4cd9632402d5ed3
parent9408daa28ffa9cbbcf5c989783b9f190ca8bb62c
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