From ce0d14dc92cb5d10c26394620963c7d9bd3d9715 Mon Sep 17 00:00:00 2001 From: qingmo Date: Tue, 11 May 2021 13:36:47 +0800 Subject: [PATCH] Update code.sh fix rename task with other user prefix namepath --- shell/code.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell/code.sh b/shell/code.sh index 474ff259..d7f649f0 100755 --- a/shell/code.sh +++ b/shell/code.sh @@ -24,7 +24,7 @@ export_codes_sub() { local config_name_my=My$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 - if cd $dir_log/$task_name &>/dev/null && [[ $(ls) ]]; then + if cd $dir_log/*$task_name &>/dev/null && [[ $(ls) ]]; then ## 寻找所有互助码以及对应的pt_pin i=0 pt_pin_in_log=()