X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/f9d04f08f7ca18e099843180edea967dd831df91..1d28cc061677bd07d9bed48dd84bd5c590247043:/src/scripts/source_checks diff --git a/src/scripts/source_checks b/src/scripts/source_checks index 79f9c3555..8620b27f5 100644 --- a/src/scripts/source_checks +++ b/src/scripts/source_checks @@ -1,4 +1,6 @@ #!/bin/sh +# Copyright (c) The Exim Maintainters 2022 +# SPDX-License-Identifier: GPL-2.0-or-later cd src; @@ -10,7 +12,7 @@ do perl -e '$/= undef; while (<>) { print $1 if /(?<='$table'\[\])\s*=\s*{\n(([^}].*\n)+)/m }' \ | awk '/{ (US)?"/ {print $2}' \ | awk -F\" '{print $2}' \ - | LANG=C sort -c \ + | LC_ALL=C sort -c \ || exit 1 done <<-END readconf.c optionlist_config @@ -19,6 +21,7 @@ done <<-END globals.c header_names globals.c log_options expand.c item_table + std-crypto.c dh_constants transport.c optionlist_transports route.c optionlist_routers transports/appendfile.c appendfile_transport_options @@ -27,6 +30,8 @@ done <<-END transports/pipe.c pipe_transport_options transports/smtp.c smtp_transport_options expand.c var_table + acl.c conditions + acl.c controls_list END # Tables with just string items @@ -36,7 +41,7 @@ do < $file \ perl -e '$/= undef; while (<>) { print $1 if /(?<='$table'\[\])\s*=\s*{\s?(([^}]*)+)}/m }' \ | awk -F\" '/"/ {print $2}' \ - | LANG=C sort -c \ + | LC_ALL=C sort -c \ || exit 1 done <<-END @@ -45,6 +50,5 @@ done <<-END expand.c op_table_main expand.c cond_table acl.c verbs - acl.c conditions END