aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2020-10-25 16:24:31 +0100
committerEven Rouault <even.rouault@spatialys.com>2020-10-25 16:24:31 +0100
commitd0f552bd4de3565cf20e408390b97ed66762dfd4 (patch)
treed1ce3f67bb912f20dfdcfc9e9873a81849c06694 /scripts
parent64312b33672a1c24feefa5127f91666f3b25f583 (diff)
downloadPROJ-d0f552bd4de3565cf20e408390b97ed66762dfd4.tar.gz
PROJ-d0f552bd4de3565cf20e408390b97ed66762dfd4.zip
scripts/fix_typos.sh: adjust qgis.txt for our script
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/fix_typos.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/fix_typos.sh b/scripts/fix_typos.sh
index 152ba550..ceb5ad6f 100755
--- a/scripts/fix_typos.sh
+++ b/scripts/fix_typos.sh
@@ -36,7 +36,7 @@ if ! test -d fix_typos; then
git clone https://github.com/rouault/codespell
(cd codespell && git checkout gdal_improvements)
# Aggregate base dictionary + QGIS one + Debian Lintian one
- curl https://raw.githubusercontent.com/qgis/QGIS/master/scripts/spell_check/spelling.dat | sed "s/:/->/" | grep -v "colour->" | grep -v "colours->" > qgis.txt
+ curl https://raw.githubusercontent.com/qgis/QGIS/master/scripts/spell_check/spelling.dat | sed "s/:/->/" | sed "s/:%//" | grep -v "colour->" | grep -v "colours->" > qgis.txt
curl https://salsa.debian.org/lintian/lintian/-/raw/master/data/spelling/corrections | grep "||" | grep -v "#" | sed "s/||/->/" > debian.txt
cat codespell/data/dictionary.txt qgis.txt debian.txt | awk 'NF' > gdal_dict.txt
echo "difered->deferred" >> gdal_dict.txt