nixos/installer: Mark scripts as Bash for ShellCheck

See <https://github.com/koalaman/shellcheck/wiki/SC2239>.
This commit is contained in:
Victor Engmark 2021-11-26 18:54:23 +13:00
parent 02cea625b0
commit adb8f5c858
4 changed files with 4 additions and 0 deletions

View File

@ -1,4 +1,5 @@
#! @runtimeShell@ -e
# shellcheck shell=bash
# Shows the usage of this command to the user

View File

@ -1,4 +1,5 @@
#! @runtimeShell@
# shellcheck shell=bash
set -e

View File

@ -1,4 +1,5 @@
#! @runtimeShell@
# shellcheck shell=bash
set -e
shopt -s nullglob

View File

@ -1,4 +1,5 @@
#! @runtimeShell@
# shellcheck shell=bash
case "$1" in
-h|--help)