mirror of
https://github.com/bensuperpc/dockcross.git
synced 2024-11-15 07:21:33 +01:00
Fix error in shellcheck N4
Fix error in shellcheck N4 Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
This commit is contained in:
parent
317b741420
commit
8a765dd273
3
.github/workflows/main.yml
vendored
3
.github/workflows/main.yml
vendored
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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 || \
|
||||||
|
Loading…
Reference in New Issue
Block a user