Change to bash in shellcheck and rename dockcross script to dockcross.sh

Change to bash in shellcheck and rename dockcross script to dockcross.sh

Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
This commit is contained in:
Bensuperpc 2021-08-03 01:03:00 +02:00
parent 92efe118b3
commit d02099ad95
2 changed files with 6 additions and 4 deletions

View File

@ -22,5 +22,7 @@ jobs:
- name: Run ShellCheck
uses: ludeeus/action-shellcheck@master
with:
severity: warning
format: gcc
severity: error
format: gcc
env:
SHELLCHECK_OPTS: bash

View File

@ -6,11 +6,11 @@ DEFAULT_DOCKCROSS_IMAGE=dockcross/base # DO NOT MOVE THIS LINE (see entrypoint.
# Helpers
#
err() {
echo -e >&2 ERROR: $@\\n
echo -e >&2 "ERROR: $*\n"
}
die() {
err $@
err "$*"
exit 1
}