summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Vatamaniuc <vatamane@apache.org>2019-08-06 11:25:54 -0400
committerNick Vatamaniuc <nickva@users.noreply.github.com>2019-08-06 15:35:59 -0400
commitd5ae1bf416a6b2a06575c3a1e7206261d857d345 (patch)
tree09e578298507c6393316ffe1b646e9701eb4c64f
parent3e9b3febc43edf742de8facef6e6c52ae7400bf2 (diff)
downloadcouchdb-d5ae1bf416a6b2a06575c3a1e7206261d857d345.tar.gz
Fix bash-ism in EUnit retry logic
Bash has `let` but other shells might not have it.
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index ed22509e2..f5d15d47b 100644
--- a/Makefile
+++ b/Makefile
@@ -176,7 +176,7 @@ eunit: couch
if [ $$? -eq 0 ]; then \
break; \
else \
- let "tries=tries+1"; \
+ tries=$$((tries+1)); \
[ $$tries -gt 2 ] && exit 1; \
fi \
done \