generatelocales: fix 'cut' invocation
authorArnout Vandecappelle <arnout@mind.be>
Thu, 22 Aug 2013 05:43:58 +0000 (07:43 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 22 Aug 2013 21:05:43 +0000 (23:05 +0200)
commit8e2696eab6a781727c09408528678d4d29edd7a3
treea06ef4b68bcb855261635b361eadbcf6ba53beea
parenta737dfccd5a05114b03a8a0b127a20a88c8540d7
generatelocales: fix 'cut' invocation

'cut' needs to be invoked with the -s option to make sure it doesn't
print anything when the delimiter isn't found. This is particularly
important for the charmap detection, because UTF-8 is appended if
the charmap is empty. But without -s, it will never be empty.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Makefile