diff options
author | Yann E. MORIN <yann.morin.1998@free.fr> | 2018-03-04 11:29:03 +0100 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2018-03-04 11:46:48 +0100 |
commit | 9f8c7766e43d3a4e655d8073450e5e60abcdddd7 (patch) | |
tree | 1c1219264f5a26ca72f78140fbadf842d5868d22 /package/python-webpy/python-webpy.hash | |
parent | f208cf296c2c7c049d11d15b6d0546214c4d0357 (diff) | |
download | buildroot-9f8c7766e43d3a4e655d8073450e5e60abcdddd7.tar.gz buildroot-9f8c7766e43d3a4e655d8073450e5e60abcdddd7.zip |
support/dependencies: unbreak check for UTF-8 locale
Although the UTF-8 locales in mainstream distributions all are suffixed
with just 'utf8', the nomenclature is a bit ambiguous with the way they
are to be specified with the various LC_* variables, suffixed there with
'UTF-8'.
Also, POSIX, ISO, and IEC do not enforce any specific suffix in LC_*
variables:
http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap08.html#tag_08_02
"""
If the locale value has the form:
language[_territory][.codeset]
it refers to an implementation-provided locale, where settings of
language, territory, and codeset are implementation-defined.
"""
To avoid any confusion, use a regexp that is a bit more lax when
matching locales.
Also, quote the regexp, so that the '?' and '$' are not interpreted by
the shell.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Peter Korsgaard <peter@korsgaard.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/python-webpy/python-webpy.hash')
0 files changed, 0 insertions, 0 deletions