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:
Saul Wold 2015-02-10 09:57:44 -08:00 committed by Richard Purdie
parent 842a33219e
commit af7fc22af0

View File

@ -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: