synapse workers-doc-to-yaml.awk: escape slash for non-gnu awk versions

This commit is contained in:
Marcel Partap 2020-12-02 00:29:20 +01:00
parent e892ac464f
commit 3156d96619

View File

@ -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.