test: extract complete mesh permission helpers
This commit is contained in:
parent
2bf3e1c20b
commit
c8149e3c16
1 changed files with 1 additions and 1 deletions
|
|
@ -19,8 +19,8 @@ extract_function() {
|
|||
local name="$1"
|
||||
awk -v name="$name" '
|
||||
$0 == name "() {" { capture=1 }
|
||||
capture && $0 != name "() {" && /^[A-Za-z_][A-Za-z0-9_]*\(\) \{$/ { exit }
|
||||
capture { print }
|
||||
capture && $0 == "}" { exit }
|
||||
' "$bootstrap"
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue