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=()