Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] lib/oe/lsb.py: Fix up for dash
@ 2015-02-10 17:57 Saul Wold
  0 siblings, 0 replies; only message in thread
From: Saul Wold @ 2015-02-10 17:57 UTC (permalink / raw)
  To: openembedded-core

Remove the leading -e when using dash which does not use -e with echo

Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 meta/lib/oe/lsb.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/lib/oe/lsb.py b/meta/lib/oe/lsb.py
index b53f361..50c1d472 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:
-- 
2.1.0



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2015-02-10 17:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-10 17:57 [PATCH] lib/oe/lsb.py: Fix up for dash Saul Wold

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox