]> code.ossystems Code Review - openembedded-core.git/commitdiff
lib/oe/lsb.py: Fix up for dash
authorSaul Wold <sgw@linux.intel.com>
Tue, 10 Feb 2015 17:57:44 +0000 (09:57 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 14 Feb 2015 08:40:36 +0000 (08:40 +0000)
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>
meta/lib/oe/lsb.py

index b53f361035333f0eef59bb4985bb0671d0e04df2..50c1d4720bda9fa0e06dfd05ed92d3b8b6ca94b4 100644 (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: