r2539 - jhalfs/trunk/common

manuel at linuxfromscratch.org manuel at linuxfromscratch.org
Wed Apr 12 14:46:06 PDT 2006


Author: manuel
Date: 2006-04-12 15:46:06 -0600 (Wed, 12 Apr 2006)
New Revision: 2539

Modified:
   jhalfs/trunk/common/func_validate_configs.sh
Log:
LC_ALL cannot be empty.

Modified: jhalfs/trunk/common/func_validate_configs.sh
===================================================================
--- jhalfs/trunk/common/func_validate_configs.sh	2006-04-12 20:43:29 UTC (rev 2538)
+++ jhalfs/trunk/common/func_validate_configs.sh	2006-04-12 21:46:06 UTC (rev 2539)
@@ -147,7 +147,7 @@
 
       if [[ "${config_param}" = "LC_ALL" ]]; then
          echo "`eval echo $PARAM_VALS`"
-         [[ -z "${!config_param}" ]] && continue
+         [[ -z "${!config_param}" ]] && echo -e "\nVariable LC_ALL cannot be empty!" && write_error_and_die
           # See it the locale values exist on this machine
          if [[ "`locale -a | grep -c ${!config_param}`" > 0 ]]; then
            continue




More information about the alfs-log mailing list