Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Runge <dvzrv@archlinux.org>2021-04-25 16:54:06 +0200
committerDavid Runge <dvzrv@archlinux.org>2021-04-30 17:51:30 +0200
commit3a5877d9f913d1151e8f729a46a7ecef643252b0 (patch)
tree4cf0038bf85af15751bbc251130f975905bb6a4e
parent1bfadf3e6451efbb36d7fd266810cb1e38e8811e (diff)
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--hooks/archiso_pxe_common2
1 files changed, 1 insertions, 1 deletions
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