You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by va...@apache.org on 2019/08/06 19:36:06 UTC
[couchdb] branch master updated: Fix bash-ism in EUnit retry logic
This is an automated email from the ASF dual-hosted git repository.
vatamane pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/couchdb.git
The following commit(s) were added to refs/heads/master by this push:
new d5ae1bf Fix bash-ism in EUnit retry logic
d5ae1bf is described below
commit d5ae1bf416a6b2a06575c3a1e7206261d857d345
Author: Nick Vatamaniuc <va...@apache.org>
AuthorDate: Tue Aug 6 11:25:54 2019 -0400
Fix bash-ism in EUnit retry logic
Bash has `let` but other shells might not have it.
---
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index ed22509..f5d15d4 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 \