[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [chutney/master] fix unset-variable error in warnings.sh
commit 3637b58c68f17982de06c7f0b14a3f3d72762140
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
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")
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits