Skip to content

Commit

Permalink
fix: sh-checker supported errors
Browse files Browse the repository at this point in the history
  • Loading branch information
DDSRem committed Dec 16, 2024
1 parent e67d07e commit 0ad7c76
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions all_in_one.sh
Original file line number Diff line number Diff line change
Expand Up @@ -533,6 +533,7 @@ function qrcode_mode_choose() {
read -erp "QRCODE_MODE:" QRCODE_MODE
[[ -z "${QRCODE_MODE}" ]] && QRCODE_MODE="2"
if [[ ${QRCODE_MODE} == [1] ]]; then
# shellcheck disable=SC2046
docker run -i --rm \
-v "${1}:/data" \
-e LANG=C.UTF-8 \
Expand Down Expand Up @@ -1077,6 +1078,7 @@ function get_aliyunpan_folder_id() {
"x86_64" | *"amd64"* | "aarch64" | *"arm64"* | *"armv8"* | *"arm/v8"*)
INFO "阿里云盘 folder id 自动获取"
pull_glue_python_ddsrem
# shellcheck disable=SC2046
docker run -it --rm \
-v "${1}:/data" \
-e LANG=C.UTF-8 \
Expand Down Expand Up @@ -1764,6 +1766,7 @@ function pull_run_glue() {
fi

if [ -n "${extra_parameters}" ]; then
# shellcheck disable=SC2046
docker run -it \
--security-opt seccomp=unconfined \
--rm \
Expand All @@ -1777,6 +1780,7 @@ function pull_run_glue() {
xiaoyaliu/glue:latest \
"${@}"
else
# shellcheck disable=SC2046
docker run -it \
--security-opt seccomp=unconfined \
--rm \
Expand Down Expand Up @@ -1808,6 +1812,7 @@ function pull_run_glue_xh() {
fi

if [ -n "${extra_parameters}" ]; then
# shellcheck disable=SC2046
docker run -itd \
--security-opt seccomp=unconfined \
--name=${BUILDER_NAME} \
Expand All @@ -1820,6 +1825,7 @@ function pull_run_glue_xh() {
xiaoyaliu/glue:latest \
"${@}" > /dev/null 2>&1
else
# shellcheck disable=SC2046
docker run -itd \
--security-opt seccomp=unconfined \
--name=${BUILDER_NAME} \
Expand Down

0 comments on commit 0ad7c76

Please sign in to comment.