Set LC_COLLATE for all scripts

This way `sort` behaves the same.
epel9
Andreas Schneider 3 years ago
parent 1652776fca
commit 2ad2addd50

@ -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')"

@ -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

Loading…
Cancel
Save