summary refs log tree commit diff
path: root/scripts-dev
diff options
context:
space:
mode:
authorAndrew Morgan <andrew@amorgan.xyz>2020-03-23 17:14:52 +0000
committerAndrew Morgan <andrew@amorgan.xyz>2020-03-23 17:14:52 +0000
commit5e02ad6cf50d306187a833bee37ff32e36e08588 (patch)
tree88014407d2803012e921b321aeb46440c1e3487d /scripts-dev
parent1.10.0rc5 (diff)
parentUse BSD-compatible in-place editing for sed. (#6887) (diff)
downloadsynapse-5e02ad6cf50d306187a833bee37ff32e36e08588.tar.xz
Use BSD-compatible in-place editing for sed. (#6887)
* commit 'ba547ec3a':
  Use BSD-compatible in-place editing for sed. (#6887)
Diffstat (limited to 'scripts-dev')
-rwxr-xr-xscripts-dev/config-lint.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts-dev/config-lint.sh b/scripts-dev/config-lint.sh

index 677a854c85..189ca66535 100755 --- a/scripts-dev/config-lint.sh +++ b/scripts-dev/config-lint.sh
@@ -3,7 +3,8 @@ # Exits with 0 if there are no problems, or another code otherwise. # Fix non-lowercase true/false values -sed -i -E "s/: +True/: true/g; s/: +False/: false/g;" docs/sample_config.yaml +sed -i.bak -E "s/: +True/: true/g; s/: +False/: false/g;" docs/sample_config.yaml +rm docs/sample_config.yaml.bak # Check if anything changed git diff --exit-code docs/sample_config.yaml