We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 93aa341 commit 9db03dcCopy full SHA for 9db03dc
1 file changed
tools/locale.sh
@@ -45,6 +45,10 @@ gen_locale_list() {
45
msg_error "No architecture specified."
46
exit 1
47
fi
48
+ if [[ ! -f "${script_path}/system/locale-${arch}" ]]; then
49
+ msg_error "Missing architecture ${arch}"
50
+ exit 1
51
+ fi
52
local _locale
53
for _locale in $(grep -h -v ^'#' "${script_path}/system/locale-${arch}" | grep -v ^$ | getclm 1); do
54
localelist+=("${_locale}")
0 commit comments