Update code.sh

fix rename task with other user prefix namepath
This commit is contained in:
qingmo 2021-05-11 13:36:47 +08:00 committed by GitHub
parent b742ed38d5
commit ce0d14dc92
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,7 +24,7 @@ export_codes_sub() {
local config_name_my=My$config_name local config_name_my=My$config_name
local config_name_for_other=ForOther$config_name local config_name_for_other=ForOther$config_name
local i j k m n pt_pin_in_log code tmp_grep tmp_my_code tmp_for_other user_num random_num_list local i j k m n pt_pin_in_log code tmp_grep tmp_my_code tmp_for_other user_num random_num_list
if cd $dir_log/$task_name &>/dev/null && [[ $(ls) ]]; then if cd $dir_log/*$task_name &>/dev/null && [[ $(ls) ]]; then
## 寻找所有互助码以及对应的pt_pin ## 寻找所有互助码以及对应的pt_pin
i=0 i=0
pt_pin_in_log=() pt_pin_in_log=()