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:
parent
02cea625b0
commit
adb8f5c858
4 changed files with 4 additions and 0 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
#! @runtimeShell@
|
#! @runtimeShell@
|
||||||
|
# shellcheck shell=bash
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
#! @runtimeShell@
|
#! @runtimeShell@
|
||||||
|
# shellcheck shell=bash
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
shopt -s nullglob
|
shopt -s nullglob
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
#! @runtimeShell@
|
#! @runtimeShell@
|
||||||
|
# shellcheck shell=bash
|
||||||
|
|
||||||
case "$1" in
|
case "$1" in
|
||||||
-h|--help)
|
-h|--help)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue