added missing constants.inc file

This commit is contained in:
George Boudreau 2006-05-24 21:37:45 +00:00
parent cace19a433
commit 7acf5caa4e
2 changed files with 35 additions and 2 deletions

35
BLFS/constants.inc Normal file
View file

@ -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'

View file

@ -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