aboutsummaryrefslogtreecommitdiffstats
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:40:36 +0000
commit105280d58f7be50e5aee6a33ef1aa89dd6485cbf (patch)
tree9c1bd32bfaffa35b9e7769da94e93e3bbdded538 /meta/lib/oe/lsb.py
parent14a1c035ba654aff1ec09d884f0b0acf7b83ab79 (diff)
downloadopenembedded-core-105280d58f7be50e5aee6a33ef1aa89dd6485cbf.tar.gz
lib/oe/lsb.py: Fix up for dash
Remove the leading -e when using dash which does not use -e with echo Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
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():
data = {}
for line in output.splitlines():
+ if line.startswith("-e"): line = line[3:]
try:
key, value = line.split(":\t", 1)
except ValueError: