Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/install/archiso_pxe_common
diff options
context:
space:
mode:
authorDavid Runge <dvzrv@archlinux.org>2021-07-31 16:32:48 +0200
committerDavid Runge <dvzrv@archlinux.org>2021-07-31 17:32:40 +0200
commit37529a96766a5841fc6561acfbfbf42b3d6ff98a (patch)
tree14538b925812f0d6a30672c21e8952609ff28619 /install/archiso_pxe_common
parenta5f57c2bfa3f7b380f572b4e86845113d6b9ef15 (diff)
Fix formatting with shfmt
{hooks,install,script}/*: Fix formatting in all scripts using shfmt. Replace a few echo calls with printf.
Diffstat (limited to 'install/archiso_pxe_common')
-rw-r--r--install/archiso_pxe_common4
1 files changed, 2 insertions, 2 deletions
diff --git a/install/archiso_pxe_common b/install/archiso_pxe_common
index 458fa69..ad96c32 100644
--- a/install/archiso_pxe_common
+++ b/install/archiso_pxe_common
@@ -16,11 +16,11 @@ build() {
add_binary "$(readlink -f /usr/lib/libnss_dns.so.2)"
add_dir /etc
- echo "hosts: files dns" > "$BUILDROOT/etc/nsswitch.conf"
+ printf "hosts: files dns\n" >"$BUILDROOT/etc/nsswitch.conf"
}
help() {
-cat<<HELPEOF
+ cat <<HELPEOF
This hook loads the necessary modules for boot via PXE.
HELPEOF
}