summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Ohly <patrick.ohly@intel.com>2017-01-31 13:50:30 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-01-31 15:28:41 +0000
commit3108bff175850914c71e02c47bac467f59661296 (patch)
tree5e1e00cc5e4739fb7457a6a66a6f7e41bae380e7
parent010f9fa86a993554e2b9134e6baf96899649a2ef (diff)
downloadpoky-3108bff175850914c71e02c47bac467f59661296.tar.gz
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 (From OE-Core rev: 32ae3e686db067a2a63932782970db79eb1703e8) Signed-off-by: Patrick Ohly <patrick.ohly@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rwxr-xr-xscripts/verify-bashisms2
1 files changed, 1 insertions, 1 deletions
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 = (
6 # type is supported by dash 6 # type is supported by dash
7 'if type systemctl >/dev/null 2>/dev/null; then', 7 'if type systemctl >/dev/null 2>/dev/null; then',
8 'if type systemd-tmpfiles >/dev/null 2>/dev/null; then', 8 'if type systemd-tmpfiles >/dev/null 2>/dev/null; then',
9 'if type update-rc.d >/dev/null 2>/dev/null; then', 9 'type update-rc.d >/dev/null 2>/dev/null; then',
10 'command -v', 10 'command -v',
11 # HOSTNAME is set locally 11 # HOSTNAME is set locally
12 'buildhistory_single_commit "$CMDLINE" "$HOSTNAME"', 12 'buildhistory_single_commit "$CMDLINE" "$HOSTNAME"',