From 1f64e717bd8740ee1061e9d85b2914abaaecf8e8 Mon Sep 17 00:00:00 2001 From: davidovski Date: Wed, 20 Apr 2022 17:15:01 +0100 Subject: fixed tests --- src/shtests.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/shtests.sh b/src/shtests.sh index 70dc21b..a899f3c 100644 --- a/src/shtests.sh +++ b/src/shtests.sh @@ -9,7 +9,8 @@ # shtests [FILE] # -. /usr/lib/colors.sh +[ -f /usr/lib/colors.sh ] && . /usr/lib/colors.sh +[ -f colors.sh ] && . colors.sh PASS="${BLUE}[ ${GREEN}PASS${BLUE} ]${RESET}" FAIL="${BLUE}[ ${RED}FAIL${BLUE} ]${RESET}" -- cgit v1.2.1