Files
jiu/scripts
wangjia 8216ee321f fix(scripts): local_test.sh 被 sh(POSIX 模式 bash) 调起报进程替换语法错误——首行加守卫重执行到普通 bash
macOS /bin/sh = bash --posix:设 BASH_VERSION 但禁用进程替换,line 56 的 2> >(grep ...)
在解析时即报 syntax error near unexpected token '>'。守卫检测 SHELLOPTS 含 posix 或非 bash
时 exec bash 重执行,honor 脚本文档里的 'sh scripts/local_test.sh' 用法。

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-11 08:20:22 +08:00
..
2026-05-28 22:39:04 +08:00
2026-05-28 22:39:04 +08:00