mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-19 05:37:54 +00:00
139a2cfae9
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 |
||
---|---|---|
.. | ||
build_bin_archive | ||
categorize_args.inc | ||
common.inc | ||
content_env_missing_ports.mk | ||
content_env.mk | ||
dependencies.inc | ||
downloader | ||
extract_api_archive | ||
extract_content.inc | ||
extract_pkg_archive | ||
extract_post_dependencies.inc | ||
extract_pre_dependencies.inc | ||
extract_raw_archive | ||
extract_src_archive | ||
extract.inc | ||
front_end.inc | ||
gpg.inc |