r2923 - jhalfs/trunk/common

georgeb at linuxfromscratch.org georgeb at linuxfromscratch.org
Fri Aug 11 16:41:13 PDT 2006


Author: georgeb
Date: 2006-08-11 17:41:10 -0600 (Fri, 11 Aug 2006)
New Revision: 2923

Modified:
   jhalfs/trunk/common/config
   jhalfs/trunk/common/func_validate_configs.sh
Log:
Cosmetic changes to displaying of parameter settings

Modified: jhalfs/trunk/common/config
===================================================================
--- jhalfs/trunk/common/config	2006-08-11 20:57:47 UTC (rev 2922)
+++ jhalfs/trunk/common/config	2006-08-11 23:41:10 UTC (rev 2923)
@@ -80,7 +80,7 @@
 
 #=== Variables needed by iterative comparison analysis ===
 #--- Should some iterative comparison analysis by made? 0(no)/1(yes)
-COMPARE=0
+COMPARE=1
 
 #--- The number of final stage builds to create and compare, min. 2, max. 5
 ITERATIONS=3

Modified: jhalfs/trunk/common/func_validate_configs.sh
===================================================================
--- jhalfs/trunk/common/func_validate_configs.sh	2006-08-11 20:57:47 UTC (rev 2922)
+++ jhalfs/trunk/common/func_validate_configs.sh	2006-08-11 23:41:10 UTC (rev 2923)
@@ -1,13 +1,15 @@
 # $Id$
 
+declare -r dotSTR=".................."
+
 #----------------------------#
 validate_target() {          #
 #----------------------------#
   local -r ERROR_MSG_pt1='The variable \"${L_arrow}TARGET${R_arrow}\" value ${L_arrow}${BOLD}${TARGET}${R_arrow} is invalid for the ${L_arrow}${BOLD}${ARCH}${R_arrow} architecture'
   local -r ERROR_MSG_pt2='  check the config file ${BOLD}${GREEN}\<$(echo $PROGNAME | tr [a-z] [A-Z])/config\> or \<common/config\>${OFF}'
 
-  local -r PARAM_VALS='TARGET: ${L_arrow}${BOLD}${TARGET}${OFF}${R_arrow}'
-  local -r PARAM_VALS2='TARGET32: ${L_arrow}${BOLD}${TARGET32}${OFF}${R_arrow}'
+  local -r PARAM_VALS='TARGET${dotSTR:6} ${L_arrow}${BOLD}${TARGET}${OFF}${R_arrow}'
+  local -r PARAM_VALS2='TARGET32${dotSTR:8} ${L_arrow}${BOLD}${TARGET32}${OFF}${R_arrow}'
 
   write_error_and_die() {
     echo -e "\n${DD_BORDER}"
@@ -93,7 +95,7 @@
 
   local -r ERROR_MSG_pt1='The variable \"${L_arrow}${config_param}${R_arrow}\" value ${L_arrow}${BOLD}${!config_param}${R_arrow} is invalid,'
   local -r ERROR_MSG_pt2=' check the config file ${BOLD}${GREEN}\<$(echo $PROGNAME | tr [a-z] [A-Z])/config\> or \<common/config\>${OFF}'
-  local -r PARAM_VALS='${config_param}: ${L_arrow}${BOLD}${!config_param}${OFF}${R_arrow}'
+  local -r PARAM_VALS='${config_param}${dotSTR:${#config_param}} ${L_arrow}${BOLD}${!config_param}${OFF}${R_arrow}'
 
   local    PARAM_LIST=
   local config_param




More information about the alfs-log mailing list