summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended
diff options
context:
space:
mode:
authorMax Eliaser <max.eliaser@intel.com>2014-06-13 15:07:42 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-06-14 00:15:59 +0100
commit03def887a44b7850b30186c96fa3f6fcf7146159 (patch)
tree7973adb0f1b590b16e87d3d42b66c05ad3979c10 /meta/recipes-extended
parent5452824960e8e77005a25ac11fd069d927523d3e (diff)
downloadpoky-03def887a44b7850b30186c96fa3f6fcf7146159.tar.gz
texinfo-dummy-native: Fix dummy scripts failing when paths contain capital Es
This was an issue in the command-line argument parsing. It was the cause of the bug reported on the OE-core mailing list by Denys Dmytriyenko. (From OE-Core rev: cbdf390806cf9fb7c0b0141a54abde372514b1cb) Signed-off-by: Max Eliaser <max.eliaser@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended')
-rw-r--r--meta/recipes-extended/texinfo-dummy-native/texinfo-dummy/template.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-extended/texinfo-dummy-native/texinfo-dummy/template.py b/meta/recipes-extended/texinfo-dummy-native/texinfo-dummy/template.py
index 4dc31a90f6..b0ebf75a15 100644
--- a/meta/recipes-extended/texinfo-dummy-native/texinfo-dummy/template.py
+++ b/meta/recipes-extended/texinfo-dummy-native/texinfo-dummy/template.py
@@ -104,7 +104,7 @@ while arg_idx < len (sys.argv):
104 104
105 # Check for functionality that isn't implemented yet. 105 # Check for functionality that isn't implemented yet.
106 else: 106 else:
107 assert arg[1] == '-' or 'E' not in arg or \ 107 assert arg[0] != '-' or arg[1] == '-' or 'E' not in arg or \
108 this_binary in simple_binaries, \ 108 this_binary in simple_binaries, \
109 "-E option not yet supported" + stub_msg 109 "-E option not yet supported" + stub_msg
110 110