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:41 +0000 |
commit | d99b29838dd72394803a279fc26ee3201dd2c557 (patch) | |
tree | 235e052cb463074930fbd99e9fd923a80caec4d3 /scripts/oe-gnome-terminal-phonehome | |
parent | a15895dac117007fe922bfe5707493ff1215ac56 (diff) | |
download | poky-d99b29838dd72394803a279fc26ee3201dd2c557.tar.gz |
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
(From OE-Core rev: e2dd3621c45e854b4eb054b4d4537487462cdd39)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/oe-gnome-terminal-phonehome')
0 files changed, 0 insertions, 0 deletions