From: Vladimír Čunát Date: Tue, 9 Jan 2024 07:38:24 +0000 (+0100) Subject: scripts/update-authors.sh nit: avoid confusing changes in ordering X-Git-Tag: v6.0.5^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6b985f13e04da19ff6758db75766ed9ba32f9395;p=thirdparty%2Fknot-resolver.git scripts/update-authors.sh nit: avoid confusing changes in ordering --- diff --git a/scripts/update-authors.sh b/scripts/update-authors.sh index fe1d85791..23261f0da 100755 --- a/scripts/update-authors.sh +++ b/scripts/update-authors.sh @@ -1,5 +1,12 @@ #!/bin/bash # SPDX-License-Identifier: GPL-3.0-or-later + +# avoid confusing changes in ordering +if ! locale | grep -q '^LC_COLLATE=.*\.UTF-8'; then + echo 'Error: you need to run this script with an .UTF-8 locale.' + exit 2 +fi + set -o nounset -o xtrace function spdx_originator_to_authors {