genode/tool/depot
Martin Stein 139a2cfae9 tool: use local LC_ALL=C instead of LC_COLLATE=C
We used to export 'LC_COLLATE=C' for the environment of Genode tools. This was
meant to ensure that sorting is always done C-style and not dependent on the
users locale settings. This is required, for instance, to ensure that the same
archive always yields the same hash.

However, 'export LC_COLLATE=C' is not sufficient. It can be outruled by an
'LC_ALL' setting in the users environment. The manual of 'sort' recommends to
set 'LC_ALL=C' locally if you want reliable results and this is what this
commit does. Furthermore it removes the former 'export LC_COLLATE=C'
directives.

Note that I couldn't find a way to set 'LC_ALL' local to 'exec ... sort' in
TCL. This is why I set it global instead using TCLs 'env' array.

Note that the Make directive '$(sort ...)' and the TCL directive 'lsort',
unlike the Shell directive 'sort', are not affected by the users locale
settings.

Fixes #4144
2021-05-28 14:15:26 +02:00
..
mk tool: use local LC_ALL=C instead of LC_COLLATE=C 2021-05-28 14:15:26 +02:00
build tool/depot/create: add CCACHE=1 option 2021-03-12 12:01:38 +01:00
create tool/depot/create: add CCACHE=1 option 2021-03-12 12:01:38 +01:00
dependencies depot: improved args check in dependencies tool 2017-12-21 15:01:45 +01:00
download tool/depot: download archives from web server 2017-05-31 13:16:24 +02:00
extract tool/depot: improve handling of missing ports 2019-05-27 14:52:52 +02:00
missing_ports tool/depot: improve handling of missing ports 2019-05-27 14:52:52 +02:00
publish tool/depot/publish: support multiple threads in xz 2019-07-09 08:58:38 +02:00
publish_current depot: tool for publishing current versions 2018-05-03 16:11:53 +02:00
static_analyze tool: use static analyzer with depot creation tool 2018-11-29 11:46:02 +01:00