Fix error in shellcheck N4

Fix error in shellcheck N4

Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
This commit is contained in:
Bensuperpc 2021-07-29 09:13:38 +02:00
parent 317b741420
commit 8a765dd273
3 changed files with 3 additions and 4 deletions

View File

@ -26,8 +26,7 @@ jobs:
- name: Run ShellCheck - name: Run ShellCheck
uses: ludeeus/action-shellcheck@master uses: ludeeus/action-shellcheck@master
with: with:
ignore: build-and-install-cmake.sh severity: error
severity: warning
env: env:
SHELLCHECK_OPTS: -s bash SHELLCHECK_OPTS: -s bash
- name: build - name: build

View File

@ -152,7 +152,7 @@ done
# Source the config file if it exists # Source the config file if it exists
DEFAULT_DOCKCROSS_CONFIG=~/.dockcross DEFAULT_DOCKCROSS_CONFIG=~/.dockcross
FINAL_CONFIG=${ARG_CONFIG-${DOCKCROSS_CONFIG-$DEFAULT_DOCKCROSS_CONFIG}} FINAL_CONFIG=${ARG_CONFIG-${DOCKCROSS_CONFIG-$DEFAULT_DOCKCROSS_CONFIG}}
# shellcheck source=~/.dockcross
[[ -f "$FINAL_CONFIG" ]] && source "$FINAL_CONFIG" [[ -f "$FINAL_CONFIG" ]] && source "$FINAL_CONFIG"
# Set the docker image # Set the docker image

View File

@ -20,7 +20,7 @@ url_key="https://github.com/tianon/gosu/releases/download/${GOSU_VERSION}/gosu-$
# download and verify the signature # download and verify the signature
GNUPGHOME=$(mktemp -d) GNUPGHOME=$(mktemp -d)
export $GNUPGHOME export GNUPGHOME
gpg --keyserver hkp://pool.sks-keyservers.net:80 --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4 || \ gpg --keyserver hkp://pool.sks-keyservers.net:80 --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4 || \
gpg --keyserver hkp://pgp.key-server.io:80 --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4 || \ gpg --keyserver hkp://pgp.key-server.io:80 --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4 || \