summaryrefslogtreecommitdiffstats
path: root/meta/lib/oe/lsb.py
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2015-02-10 09:57:44 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-02-14 08:41:00 +0000
commitaf7fc22af08f758880a57139d392ef06678d9382 (patch)
tree917fc391b797519a098863c0b124ef7db836537d /meta/lib/oe/lsb.py
parent842a33219ecb1a0c84b70e04a0b3f59dfe09d47e (diff)
downloadpoky-af7fc22af08f758880a57139d392ef06678d9382.tar.gz
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>
Diffstat (limited to 'meta/lib/oe/lsb.py')
-rw-r--r--meta/lib/oe/lsb.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/lib/oe/lsb.py b/meta/lib/oe/lsb.py
index b53f361035..50c1d4720b 100644
--- a/meta/lib/oe/lsb.py
+++ b/meta/lib/oe/lsb.py
@@ -9,6 +9,7 @@ def release_dict():
9 9
10 data = {} 10 data = {}
11 for line in output.splitlines(): 11 for line in output.splitlines():
12 if line.startswith("-e"): line = line[3:]
12 try: 13 try:
13 key, value = line.split(":\t", 1) 14 key, value = line.split(":\t", 1)
14 except ValueError: 15 except ValueError: