From d197eacf8b7aba0796a0f6ac6ac1667564bd614e Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Mon, 27 May 2013 00:40:54 -0400 Subject: common.sh: unset COLOR variables in a way that is `set -u` safe. --- lib/common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/common.sh b/lib/common.sh index d1d958e..7c0a9d3 100644 --- a/lib/common.sh +++ b/lib/common.sh @@ -2,7 +2,7 @@ export LANG=C # check if messages are to be printed using color -unset ALL_OFF BOLD BLUE GREEN RED YELLOW +declare ALL_OFF= BOLD= BLUE= GREEN= RED= YELLOW= if [[ -t 2 ]]; then # prefer terminal safe colored and bold text when tput is supported if tput setaf 0 &>/dev/null; then -- cgit v1.2.3-70-g09d2