aboutsummaryrefslogtreecommitdiffstats
path: root/LICENSE
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2016-02-12 14:55:50 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-09-16 15:19:31 +0100
commitd77fe838ab7631a19e90ff4226f0712e54aa4e22 (patch)
tree1e15219f30b68350eed0bd650fbb36fa3d7e8803 /LICENSE
parent8fda70bb74f7c63d393d5424436d034d2cc6c05e (diff)
downloadopenembedded-core-contrib-d77fe838ab7631a19e90ff4226f0712e54aa4e22.tar.gz
openembedded-core-contrib-d77fe838ab7631a19e90ff4226f0712e54aa4e22.tar.bz2
openembedded-core-contrib-d77fe838ab7631a19e90ff4226f0712e54aa4e22.zip
scripts: add tool to scan for bashisms recipe shell scripts
Shell functions in bitbake are executed with /bin/sh so should be POSIX compliant and not use Bash extensions, or at least only use extensions that are implemented in both dash and ash (busybox). This tool will extract all of the shell scripts from all recipes and run them through checkbashisms (it assumes that checkbashisms is on $PATH). There is a whitelist to filter out false-positives such as the use of $HOSTNAME (a bashism) in functions where we have defined it, or using the 'type' builtin which is supported by ash/dash. [ YOCTO #8851 ] Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions