[OE-core] [PATCH] lib/oe/lsb.py: Fix up for dash
Saul Wold
sgw at linux.intel.com
Tue Feb 10 17:57:44 UTC 2015
Remove the leading -e when using dash which does not use -e with echo
Signed-off-by: Saul Wold <sgw at 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
More information about the Openembedded-core
mailing list