synapse workers-doc-to-yaml.awk: escape slash for non-gnu awk versions
This commit is contained in:
parent
e892ac464f
commit
3156d96619
@ -13,7 +13,7 @@ function worker_stanza_append(string) {
|
|||||||
|
|
||||||
function line_is_endpoint_url(line) {
|
function line_is_endpoint_url(line) {
|
||||||
# probably API endpoint if it starts with white-space and ^ or /
|
# probably API endpoint if it starts with white-space and ^ or /
|
||||||
return (line ~ /^ +[\^/].*\//)
|
return (line ~ /^ +[\^\/].*\//)
|
||||||
}
|
}
|
||||||
|
|
||||||
# Put YAML marker at beginning of file.
|
# Put YAML marker at beginning of file.
|
||||||
|
Loading…
Reference in New Issue
Block a user