Fix snap distribution unable to process scripts in Unicode(Chinese) (fixes #1643)

The snap runtime only supports C.UTF-8 locale, as other locales don't seem to be used now just hardcode it.

Fixes #1643.

Signed-off-by: 林博仁(Buo-ren, Lin) <Buo.Ren.Lin@gmail.com>
This commit is contained in:
林博仁(Buo-ren, Lin) 2020-08-02 16:55:45 +08:00
parent 1ac2c31728
commit beee9b22ca

View file

@ -31,6 +31,8 @@ apps:
shellcheck:
command: usr/bin/shellcheck
plugs: [home, removable-media]
environment:
LANG: C.UTF-8
parts:
shellcheck: