Exit when LANG isn't set on the host system, instead of seeming to continue but failing to generate the Makefile.
This commit is contained in:
parent
d748b315ea
commit
71dd5a5c5b
1 changed files with 2 additions and 2 deletions
|
@ -158,8 +158,8 @@ inline_doc
|
|||
|
||||
if [[ "${config_param}" = "LANG" ]]; then
|
||||
echo "`eval echo $PARAM_VALS`"
|
||||
[[ -z "${!config_param}" ]] && continue
|
||||
# See it the locale values exist on this machine
|
||||
[[ -z "${!config_param}" ]] && echo -e "\nVariable LANG cannot be empty!" && write_error_and_die
|
||||
# See if the locale values exist on this machine
|
||||
if [[ "`locale -a | grep -c ${!config_param}`" > 0 ]]; then
|
||||
continue
|
||||
else # If you make it this far then there is a problem
|
||||
|
|
Reference in a new issue