mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 12:59:02 +02:00
lib/oe/lsb.py: Fix up for dash
Remove the leading -e when using dash which does not use -e with echo (From OE-Core rev: 105280d58f7be50e5aee6a33ef1aa89dd6485cbf) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
842a33219e
commit
af7fc22af0
|
@ -9,6 +9,7 @@ def release_dict():
|
|||
|
||||
data = {}
|
||||
for line in output.splitlines():
|
||||
if line.startswith("-e"): line = line[3:]
|
||||
try:
|
||||
key, value = line.split(":\t", 1)
|
||||
except ValueError:
|
||||
|
|
Loading…
Reference in New Issue
Block a user