1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-06-20 16:39:31 +03:00

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 #! @runtimeShell@ -e
# shellcheck shell=bash
# Shows the usage of this command to the user # Shows the usage of this command to the user

View file

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

View file

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

View file

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