From 3a5877d9f913d1151e8f729a46a7ecef643252b0 Mon Sep 17 00:00:00 2001 From: David Runge Date: Sun, 25 Apr 2021 16:54:06 +0200 Subject: Ignore SC3060 in initcpio hook archiso/initcpio/hooks/archiso_pxe_common: Disable shellcheck's SC3060, as ash is able to do bash-like string replacements. --- hooks/archiso_pxe_common | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hooks/archiso_pxe_common b/hooks/archiso_pxe_common index a47b6c0..00507cb 100644 --- a/hooks/archiso_pxe_common +++ b/hooks/archiso_pxe_common @@ -13,7 +13,7 @@ run_hook () { if [ -n "${ip}" ]; then if [ -n "${BOOTIF}" ]; then bootif_mac="${BOOTIF#01-}" - # shellcheck disable=SC2169 + # shellcheck disable=SC2169,SC3060 # ash supports bash-like string replacment bootif_mac="${bootif_mac//-/:}" for i in /sys/class/net/*/address; do -- cgit v1.2.3-54-g00ecf