Skip to content

Commit 01a6e63

Browse files
committed
scripts/build: better private function matching
1 parent d7b8fdd commit 01a6e63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ funcs_before_bma=$(compgen -A function)
1414
for f in $project_root/lib/*-functions; do source "$f"; done
1515

1616
# all function after loading BMA functions
17-
funcs_after_bma=$(compgen -A function | command grep -v '_bma')
17+
funcs_after_bma=$(compgen -A function | grep -vE '^(_|__)bma')
1818
1919
# Generate the functions file
2020

0 commit comments

Comments
 (0)