diff options
author | André Draszik <adraszik@tycoint.com> | 2016-11-09 14:48:53 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-01-11 11:46:39 +0000 |
commit | 2ece9c0e955ee99543968ddfd14da909e23ae611 (patch) | |
tree | a129debbe3522a93507452b6d7cdf9d5dfa99834 /scripts/native-intercept | |
parent | 3397af5877a41a6a59aeb90f8610c759cad38795 (diff) | |
download | openembedded-core-2ece9c0e955ee99543968ddfd14da909e23ae611.tar.gz openembedded-core-2ece9c0e955ee99543968ddfd14da909e23ae611.tar.bz2 openembedded-core-2ece9c0e955ee99543968ddfd14da909e23ae611.zip |
openssl: fix bashism in c_rehash shell script
This script claims to be a /bin/sh script, but it uses
a bashism:
from checkbashisms:
possible bashism in meta/recipes-connectivity/openssl/openssl/openssl-c_rehash.sh line 151 (should be 'b = a'):
if [ "x/" == "x$( echo ${FILE} | cut -c1 -)" ]
This causes build issues on systems that don't have
/bin/sh symlinked to bash:
Updating certificates in ${WORKDIR}/rootfs/etc/ssl/certs...
<builddir>/tmp/sysroots/x86_64-linux/usr/bin/c_rehash: 151: [: x/: unexpected operator
...
Fix this by using POSIX shell syntax for the comparison.
(From OE-Core rev: 0526524c74d4c9019fb014a2984119987f6ce9d3)
Signed-off-by: André Draszik <adraszik@tycoint.com>
Reviewed-by: Sylvain Lemieux <slemieux@tycoint.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'scripts/native-intercept')
0 files changed, 0 insertions, 0 deletions