From 5df860befe74daac5cab0d05fa4b7f90686d931b Mon Sep 17 00:00:00 2001 From: hanhh <18330117883@163.com> Date: Wed, 9 Jun 2021 22:46:37 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=B1=8F=E8=94=BD=E6=8C=87?= =?UTF-8?q?=E5=AE=9A=E8=84=9A=E6=9C=AC=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shell/share.sh | 1 + shell/task.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/shell/share.sh b/shell/share.sh index 248d70c2..464be17f 100755 --- a/shell/share.sh +++ b/shell/share.sh @@ -61,6 +61,7 @@ import_config() { command_timeout_time=${CommandTimeoutTime:-"1h"} github_proxy_url=${GithubProxyUrl:-""} + block_cookie=${TempBlockCookie:-""} } ## 创建目录,$1:目录的绝对路径 diff --git a/shell/task.sh b/shell/task.sh index 708d1d99..b6208786 100755 --- a/shell/task.sh +++ b/shell/task.sh @@ -10,7 +10,7 @@ combine_sub() { local combined_all="" local tmp1 tmp2 for ((i = 1; i <= $user_sum; i++)); do - for num in $TempBlockCookie; do + for num in $block_cookie; do [[ $i -eq $num ]] && continue 2 done local tmp1=$what_combine$i