From 3af2a32eb5ca1e73447c37841f360aca3bbfec3f Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 13 Aug 2026 10:21:23 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20verify=5Fsubmission.sh=20=E2=80=94=20str?= =?UTF-8?q?ip=20semicolons=20from=20path=20extraction=20grep?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- verify_submission.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/verify_submission.sh b/verify_submission.sh index 455305c6..03051580 100755 --- a/verify_submission.sh +++ b/verify_submission.sh @@ -93,7 +93,7 @@ if [[ -n "$YAML_PRELOAD" ]]; then echo " ✓ LD_PRELOAD已配置: $YAML_PRELOAD" PASS=$((PASS+1)) # 检查路径与build输出一致 - BUILD_OUTPUT_DIR=$(grep "build_cccl_preload.sh" qwen3_6_scripts/patch_ops.sh | grep -o '/workspace/[^ ]*' | head -1) + BUILD_OUTPUT_DIR=$(grep "build_cccl_preload.sh" qwen3_6_scripts/patch_ops.sh | grep -oP '/workspace/\S+' | head -1 | tr -d ';') EXPECTED_SO="${BUILD_OUTPUT_DIR}/libcccl_allocator.so" if [[ "$YAML_PRELOAD" == "$EXPECTED_SO" || "$YAML_PRELOAD" == "/workspace/qwen3_6_scripts/libcccl_allocator.so" ]]; then echo " ✓ 路径匹配build输出"