From af7fc22af08f758880a57139d392ef06678d9382 Mon Sep 17 00:00:00 2001 From: Saul Wold Date: Tue, 10 Feb 2015 09:57:44 -0800 Subject: 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 Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- meta/lib/oe/lsb.py | 1 + 1 file changed, 1 insertion(+) (limited to 'meta/lib/oe/lsb.py') 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(): data = {} for line in output.splitlines(): + if line.startswith("-e"): line = line[3:] try: key, value = line.split(":\t", 1) except ValueError: -- cgit v1.2.3-54-g00ecf