fix: feat: stack lock protocol for singleton project stack access (#255)
Fix get_fns in agent-smoke.sh: use separate -e flags instead of ; as sed command separator — BusyBox sed (Alpine CI) does not support semicolons as separators within a single expression, causing function names to retain their () suffix and never match in LIB_FUNS lookups. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
1053e02f67
commit
81adad21e5
1 changed files with 1 additions and 1 deletions
|
|
@ -23,7 +23,7 @@ get_fns() {
|
|||
# GNU grep and BusyBox grep (some BusyBox builds treat bare () as grouping
|
||||
# even in BRE). BRE one-or-more via [X][X]* instead of +.
|
||||
grep '^[[:space:]]*[a-zA-Z_][a-zA-Z0-9_][a-zA-Z0-9_]*[[:space:]]*[(][)]' "$f" 2>/dev/null \
|
||||
| sed 's/^[[:space:]]*//; s/[[:space:]]*[(][)].*$//' \
|
||||
| sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*[(][)].*$//' \
|
||||
| sort -u || true
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue