From 2ad2addd50c501bc154d278259910f2a3d5a38a4 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Sat, 12 Feb 2022 19:13:05 +0100 Subject: [PATCH] Set LC_COLLATE for all scripts This way `sort` behaves the same. --- ffmpeg_gen_free_tarball.sh | 2 ++ ffmpeg_update_free_sources.sh | 2 ++ 2 files changed, 4 insertions(+) diff --git a/ffmpeg_gen_free_tarball.sh b/ffmpeg_gen_free_tarball.sh index 9c4bb67..f4710fe 100755 --- a/ffmpeg_gen_free_tarball.sh +++ b/ffmpeg_gen_free_tarball.sh @@ -17,6 +17,8 @@ # # shellcheck disable=2181 +export LC_COLLATE="C.UTF-8" + FF_PKGNAME="ffmpeg" FF_PKGNAME_SUFFIX="-free" FF_VERSION="$(rpmspec -P ./*.spec | grep ^Version | sed -e 's/Version:[ ]*//g')" diff --git a/ffmpeg_update_free_sources.sh b/ffmpeg_update_free_sources.sh index 5b6c3b1..7dc5c9c 100755 --- a/ffmpeg_update_free_sources.sh +++ b/ffmpeg_update_free_sources.sh @@ -17,6 +17,8 @@ # # shellcheck disable=2181 +export LC_COLLATE="C.UTF-8" + cleanup_and_exit() { if test "$1" = 0 -o -z "$1"; then