Set LC_COLLATE for all scripts

This way `sort` behaves the same.
This commit is contained in:
Andreas Schneider 2022-02-12 19:13:05 +01:00
parent 1652776fca
commit 2ad2addd50
2 changed files with 4 additions and 0 deletions

View File

@ -17,6 +17,8 @@
# #
# shellcheck disable=2181 # shellcheck disable=2181
export LC_COLLATE="C.UTF-8"
FF_PKGNAME="ffmpeg" FF_PKGNAME="ffmpeg"
FF_PKGNAME_SUFFIX="-free" FF_PKGNAME_SUFFIX="-free"
FF_VERSION="$(rpmspec -P ./*.spec | grep ^Version | sed -e 's/Version:[ ]*//g')" FF_VERSION="$(rpmspec -P ./*.spec | grep ^Version | sed -e 's/Version:[ ]*//g')"

View File

@ -17,6 +17,8 @@
# #
# shellcheck disable=2181 # shellcheck disable=2181
export LC_COLLATE="C.UTF-8"
cleanup_and_exit() cleanup_and_exit()
{ {
if test "$1" = 0 -o -z "$1"; then if test "$1" = 0 -o -z "$1"; then