Changeset 21530e9 for common


Ignore:
Timestamp:
04/12/2006 09:47:32 PM (18 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
experimental
Children:
b1c7734
Parents:
2034373
Message:

Ported r2525 and r2539 from trunk.
Typo fix.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • common/func_validate_configs.sh

    r2034373 r21530e9  
    138138                      if [[ ! "${RUN_ICA}" = "1" ]] && [[ ! "${RUN_FARCE}" = "1" ]]; then
    139139                         echo  "${nl_}${DD_BORDER}"
    140                          echo  "You have have elected to analyse the build but have failed to select a tool." >&2
     140                         echo  "You have elected to analyse the build but have failed to select a tool." >&2
    141141                         echo  "Edit /common/config and set ${L_arrow}${BOLD}RUN_ICA${R_arrow} and/or ${L_arrow}${BOLD}RUN_FARCE${R_arrow} to the required values" >&2
    142142                         echo  "${DD_BORDER}${nl_}"
    143                          exit 1                     
     143                         exit 1
    144144                      fi
    145145                    fi
     
    166166      if [[ "${config_param}" = "LC_ALL" ]]; then
    167167         echo "`eval echo $PARAM_VALS`"
    168          [[ -z "${!config_param}" ]] && continue
     168         [[ -z "${!config_param}" ]] && echo -e "\nVariable LC_ALL cannot be empty!" && write_error_and_die
    169169          # See it the locale values exist on this machine
    170170         if [[ "`locale -a | grep -c ${!config_param}`" > 0 ]]; then
     
    177177      if [[ "${config_param}" = "LANG" ]]; then
    178178         echo "`eval echo $PARAM_VALS`"
    179          [[ -z "${!config_param}" ]] && continue
     179         [[ -z "${!config_param}" ]] && echo -e "\nVariable LANG cannot be empty!" && write_error_and_die
    180180          # See it the locale values exist on this machine
    181181         if [[ "`locale -a | grep -c ${!config_param}`" > 0 ]]; then
Note: See TracChangeset for help on using the changeset viewer.