Skip to contentSkip to conversation

lib/oe/lsb.py: Fix up for dash

PATCH New Saul Wold 1 participant 1 message Feb 10, 2015

lore
Share & tools
lore

Saul Wold

author
#0 lore raw

PATCH 1/1 lib/oe/lsb.py: Fix up for dash

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

---
 meta/lib/oe/lsb.py | 1 +
 1 file changed, 1 insertion(+)
meta/lib/oe/lsb.py +1 -0
index b53f361..50c1d472 100644
@@ -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:
Signature · 1 line
2.1.0