diff options
author | Max Eliaser <max.eliaser@intel.com> | 2014-06-13 15:07:42 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-06-14 00:15:59 +0100 |
commit | 03def887a44b7850b30186c96fa3f6fcf7146159 (patch) | |
tree | 7973adb0f1b590b16e87d3d42b66c05ad3979c10 /meta | |
parent | 5452824960e8e77005a25ac11fd069d927523d3e (diff) | |
download | poky-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')
-rw-r--r-- | meta/recipes-extended/texinfo-dummy-native/texinfo-dummy/template.py | 2 |
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 | ||