[tor-commits] [chutney/master] fix unset-variable error in warnings.sh
nickm at torproject.org
nickm at torproject.org
Wed Jun 24 16:09:45 UTC 2020
commit 3637b58c68f17982de06c7f0b14a3f3d72762140
Author: Nick Mathewson <nickm at torproject.org>
Date: Wed Jun 24 12:09:40 2020 -0400
fix unset-variable error in warnings.sh
---
tools/warnings.sh | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/tools/warnings.sh b/tools/warnings.sh
index c3b3432..f481639 100755
--- a/tools/warnings.sh
+++ b/tools/warnings.sh
@@ -127,6 +127,10 @@ if [ -t 1 ]; then
NC=$(tput sgr0)
YELLOW=$(tput setaf 3)
GREEN=$(tput setaf 2)
+else
+ NC=""
+ YELLOW=""
+ GREEN=""
fi
NAME=$(basename "$0")
More information about the tor-commits
mailing list