mirror of
https://git.yoctoproject.org/poky
synced 2026-10-21 18:58:20 +00: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:
1 parent
842a33219e
commit
af7fc22af0
1 file changed
+1
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user