Преглед изворни кода

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

pull/456/head
Marcel Partap пре 5 година
родитељ
комит
3156d96619
1 измењених фајлова са 1 додато и 1 уклоњено
  1. +1
    -1
      roles/matrix-synapse/files/workers-doc-to-yaml.awk

+ 1
- 1
roles/matrix-synapse/files/workers-doc-to-yaml.awk Прегледај датотеку

@@ -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…
Откажи
Сачувај