From 6b985f13e04da19ff6758db75766ed9ba32f9395 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Tue, 9 Jan 2024 08:38:24 +0100 Subject: [PATCH] scripts/update-authors.sh nit: avoid confusing changes in ordering --- scripts/update-authors.sh | 7 +++++++ 1 file changed, 7 insertions(+) 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 { -- 2.47.2