]> code.ossystems Code Review - openembedded-core.git/commitdiff
verify-bashisms: revise update-rc.d whitelist entry
authorPatrick Ohly <patrick.ohly@intel.com>
Tue, 31 Jan 2017 12:50:30 +0000 (13:50 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 31 Jan 2017 15:28:35 +0000 (15:28 +0000)
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 <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/verify-bashisms

index 613f174a975c92192d5399b0168e7bb66653862c..df071e3b907eae8a55fc2db57bd3dfee7fd3204f 100755 (executable)
@@ -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"',