aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
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