diff --git a/BLFS/constants.inc b/BLFS/constants.inc new file mode 100644 index 0000000..9e44487 --- /dev/null +++ b/BLFS/constants.inc @@ -0,0 +1,35 @@ +##### +# +# common constants +# +# $Id: +##### + + +# VT100 colors +declare -r BLACK=$'\e[1;30m' +declare -r DK_GRAY=$'\e[0;30m' + +declare -r RED=$'\e[31m' +declare -r GREEN=$'\e[32m' +declare -r YELLOW=$'\e[33m' +declare -r BLUE=$'\e[34m' +declare -r MAGENTA=$'\e[35m' +declare -r CYAN=$'\e[36m' +declare -r WHITE=$'\e[37m' + +declare -r OFF=$'\e[0m' +declare -r BOLD=$'\e[1m' +declare -r REVERSE=$'\e[7m' +declare -r HIDDEN=$'\e[8m' + +declare -r tab_=$'\t' +declare -r nl_=$'\n' + +declare -r DD_BORDER="${BOLD}==============================================================================${OFF}" +declare -r SD_BORDER="${BOLD}------------------------------------------------------------------------------${OFF}" +declare -r STAR_BORDER="${BOLD}******************************************************************************${OFF}" + +# bold yellow > < pair +declare -r R_arrow=$'\e[1;33m>\e[0m' +declare -r L_arrow=$'\e[1;33m<\e[0m' diff --git a/BLFS/func_dependencies b/BLFS/func_dependencies index c656fa5..44b8067 100644 --- a/BLFS/func_dependencies +++ b/BLFS/func_dependencies @@ -248,9 +248,7 @@ inline_doc # set +e [[ "${VERBOSITY}" > 0 ]] && echo -ne "\nrecursive call: $((++cntr)) ${spaceSTR:0:$cntr} ${RED}$DEP${OFF}" - echo -ne "\nrecursive call: $cntr ${spaceSTR:0:$cntr} $DEP" >>koffice.XX do_dependencies $DEP - echo -ne "\nrecursive ret: $cntr ${spaceSTR:0:$cntr} $DEP\t(to solve $PKG)" >>koffice.XX [[ "${VERBOSITY}" > 0 ]] && echo -ne "\nrecursive ret: $cntr ${spaceSTR:0:$((cntr--))} ${GREEN}$DEP${OFF}\tUsing the new xinclude file for PKG $DEP (to solve $PKG)" set -e