mirror of
https://github.com/OpenBankProject/OBP-API.git
synced 2026-02-06 09:26:53 +00:00
refactor/(run_all_tests.sh): fix grep pattern quoting for consistency
- Change double quotes to single quotes in grep regex pattern - Improve shell script best practices for pattern matching - Ensure consistent quoting style with grep -E flag usage
This commit is contained in:
parent
e9f1ea2167
commit
8b39edb618
@ -821,7 +821,7 @@ fi
|
|||||||
recent_lines=$(tail -n 500 "${DETAIL_LOG}" 2>/dev/null || true)
|
recent_lines=$(tail -n 500 "${DETAIL_LOG}" 2>/dev/null || true)
|
||||||
|
|
||||||
# Switch to "Building" phase when Maven starts compiling
|
# Switch to "Building" phase when Maven starts compiling
|
||||||
if ! $in_building && echo "$recent_lines" | grep -q -E "Compiling|Building.*Open Bank Project" 2>/dev/null; then
|
if ! $in_building && echo "$recent_lines" | grep -q -E 'Compiling|Building.*Open Bank Project' 2>/dev/null; then
|
||||||
phase="Building"
|
phase="Building"
|
||||||
in_building=true
|
in_building=true
|
||||||
# Record building phase and update terminal (inline to avoid subshell issues)
|
# Record building phase and update terminal (inline to avoid subshell issues)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user