From dedd502636180eb143caa01a1b6ff6e2955f7e77 Mon Sep 17 00:00:00 2001 From: Pierre Labastie Date: Thu, 23 Mar 2023 18:34:50 +0100 Subject: [PATCH] Implementation of dependency checking 2 Check the configuration variable in gen_pkg_book --- BLFS/gen_pkg_book.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/BLFS/gen_pkg_book.sh b/BLFS/gen_pkg_book.sh index e6aab30..44877d4 100755 --- a/BLFS/gen_pkg_book.sh +++ b/BLFS/gen_pkg_book.sh @@ -38,6 +38,7 @@ declare WRAP_INSTALL declare PACK_INSTALL declare DEL_LA_FILES declare STATS +declare DEP_CHECK declare SRC_ARCHIVE declare SRC_SUBDIRS declare BUILD_ROOT @@ -69,6 +70,7 @@ parse_configuration() { # PACK_INSTALL=* | \ DEL_LA_FILES=* | \ STATS=* | \ + DEP_CHECK=* | \ LANGUAGE=* | \ SUDO=* | \ SRC_ARCHIVE=* | \ @@ -108,7 +110,7 @@ parse_configuration() { # validate_configuration() { # #--------------------------# local -r dotSTR=".................." - local -r PARAM_LIST="DEP_LEVEL SUDO LANGUAGE MAIL_SERVER WRAP_INSTALL PACK_INSTALL DEL_LA_FILES STATS SRC_ARCHIVE SRC_SUBDIRS BUILD_ROOT BUILD_SUBDIRS KEEP_FILES JOBS CFG_CFLAGS CFG_CXXFLAGS CFG_LDFLAGS" + local -r PARAM_LIST="DEP_LEVEL SUDO LANGUAGE MAIL_SERVER WRAP_INSTALL PACK_INSTALL DEL_LA_FILES STATS DEP_CHECK SRC_ARCHIVE SRC_SUBDIRS BUILD_ROOT BUILD_SUBDIRS KEEP_FILES JOBS CFG_CFLAGS CFG_CXXFLAGS CFG_LDFLAGS" local -r PARAM_VALS='${config_param}${dotSTR:${#config_param}} ${L_arrow}${BOLD}${!config_param}${OFF}${R_arrow}' local config_param local -i index