diff options
author | Patrick Ohly <patrick.ohly@intel.com> | 2017-01-31 13:50:33 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-01-31 15:28:35 +0000 |
commit | e2dd3621c45e854b4eb054b4d4537487462cdd39 (patch) | |
tree | 3bb4d53ff2482229da6de2a93ae320d6f5e5a786 /scripts/lib/argparse_oe.py | |
parent | b690b8dc634844b4f6672d524f0e6f1d86dc4e20 (diff) | |
download | openembedded-core-e2dd3621c45e854b4eb054b4d4537487462cdd39.tar.gz openembedded-core-e2dd3621c45e854b4eb054b4d4537487462cdd39.tar.bz2 openembedded-core-e2dd3621c45e854b4eb054b4d4537487462cdd39.zip |
verify-bashisms: support warnings with more than one line of source code
All warnings start with "possible bashism in", followed by one or more
(in the case of line continuation) lines of source code. To support
more than one line, we now split by matching against the known intro
text.
Example:
$ verify-bashisms guile
...
/.../openembedded-core/meta/recipes-devtools/guile/guile_2.0.13.bb
possible bashism in guile_cross_config line 94 ($'...' should be "$(printf '...')"):
echo '#!'`which ${BUILD_SYS}-guile`$' \\\n--no-auto-compile -e main -s\n!#\n(define %guile-build-info '\'\( \
> ${B}/guile-config.cross
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/argparse_oe.py')
0 files changed, 0 insertions, 0 deletions