Changeset 740b8c0 for BLFS/gen_pkg_book.sh
- Timestamp:
- 08/24/2006 07:29:18 PM (18 years ago)
- Branches:
- experimental
- Children:
- 26e1214
- Parents:
- f694f27
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BLFS/gen_pkg_book.sh
rf694f27 r740b8c0 79 79 } 80 80 81 #--------------------------# 82 validate_configuration() { # 83 #--------------------------# 84 local -r dotSTR=".................." 85 local -r PARAM_LIST="TARGET DEP_LEVEL SUDO PRINT_SERVER MAIL_SERVER GHOSTSCRIPT KBR5 X11" 86 local -r PARAM_VALS='${config_param}${dotSTR:${#config_param}} ${L_arrow}${BOLD}${!config_param}${OFF}${R_arrow}' 87 local config_param 88 89 for config_param in ${PARAM_LIST}; do 90 echo -e "`eval echo $PARAM_VALS`" 91 done 92 } 81 93 82 94 # … … 150 162 151 163 parse_configuration 164 validate_configuration 165 echo "${SD_BORDER}${nl_}" 166 echo -n "Are you happy with these settings? yes/no (no): " 167 read ANSWER 168 if [ x$ANSWER != "xyes" ] ; then 169 echo "${nl_}Rerun make and fix your settings.${nl_}" 170 exit 1 171 fi 172 echo "${nl_}${SD_BORDER}${nl_}" 152 173 regenerate_deps 153 174 generate_dependency_tree
Note:
See TracChangeset
for help on using the changeset viewer.