mirror of
https://github.com/bensuperpc/dockcross.git
synced 2024-12-22 08:24:25 +01:00
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:
parent
92efe118b3
commit
d02099ad95
6
.github/workflows/shellcheck.yml
vendored
6
.github/workflows/shellcheck.yml
vendored
@ -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
|
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user