From: Patrick Ohly Date: Tue, 31 Jan 2017 12:50:30 +0000 (+0100) Subject: verify-bashisms: revise update-rc.d whitelist entry X-Git-Tag: uninative-1.5~500 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=32ae3e686db067a2a63932782970db79eb1703e8;p=openembedded-core.git verify-bashisms: revise update-rc.d whitelist entry The actual code recently changed to: if ${@use_updatercd(d)} && type update-rc.d >/dev/null 2>/dev/null; then Signed-off-by: Patrick Ohly Signed-off-by: Richard Purdie --- diff --git a/scripts/verify-bashisms b/scripts/verify-bashisms index 613f174a97..df071e3b90 100755 --- a/scripts/verify-bashisms +++ b/scripts/verify-bashisms @@ -6,7 +6,7 @@ whitelist = ( # type is supported by dash 'if type systemctl >/dev/null 2>/dev/null; then', 'if type systemd-tmpfiles >/dev/null 2>/dev/null; then', - 'if type update-rc.d >/dev/null 2>/dev/null; then', + 'type update-rc.d >/dev/null 2>/dev/null; then', 'command -v', # HOSTNAME is set locally 'buildhistory_single_commit "$CMDLINE" "$HOSTNAME"',