summaryrefslogtreecommitdiff
path: root/meta/recipes-extended/texinfo-dummy-native
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:54 +0100
commitcbdf390806cf9fb7c0b0141a54abde372514b1cb (patch)
tree501fd2e4fa5e98ff447121110f9ed19f7c117a73 /meta/recipes-extended/texinfo-dummy-native
parentd668245991d1369e2906d1605c749c62274c0620 (diff)
downloadopenembedded-core-cbdf390806cf9fb7c0b0141a54abde372514b1cb.tar.gz
openembedded-core-cbdf390806cf9fb7c0b0141a54abde372514b1cb.tar.bz2
openembedded-core-cbdf390806cf9fb7c0b0141a54abde372514b1cb.zip
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. Signed-off-by: Max Eliaser <max.eliaser@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/texinfo-dummy-native')
-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):
# Check for functionality that isn't implemented yet.
else:
- assert arg[1] == '-' or 'E' not in arg or \
+ assert arg[0] != '-' or arg[1] == '-' or 'E' not in arg or \
this_binary in simple_binaries, \
"-E option not yet supported" + stub_msg