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>
This commit is contained in:
Max Eliaser 2014-06-13 15:07:42 -07:00 committed by Richard Purdie
parent 5452824960
commit 03def887a4
1 changed files with 1 additions and 1 deletions

View File

@ -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