diff options
| author | David Runge <dvzrv@archlinux.org> | 2021-04-25 16:54:06 +0200 |
|---|---|---|
| committer | David Runge <dvzrv@archlinux.org> | 2021-04-30 17:51:30 +0200 |
| commit | 8bf95d37d3c7d50cd6c452a57d0706ced1db6f89 (patch) | |
| tree | 1e1be3edde2d45edd0a15f7de9906b90f52e64d0 | |
| parent | bde397199126e0aa49f5162ace370e55f6ab2a51 (diff) | |
| download | archiso-8bf95d37d3c7d50cd6c452a57d0706ced1db6f89.tar.gz archiso-8bf95d37d3c7d50cd6c452a57d0706ced1db6f89.tar.bz2 | |
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.
| -rw-r--r-- | archiso/initcpio/hooks/archiso_pxe_common | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/archiso/initcpio/hooks/archiso_pxe_common b/archiso/initcpio/hooks/archiso_pxe_common index a47b6c0..00507cb 100644 --- a/archiso/initcpio/hooks/archiso_pxe_common +++ b/archiso/initcpio/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 |
