summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland Illig <roland.illig@gmx.de>2020-05-10 22:02:39 +0200
committerGitHub <noreply@github.com>2020-05-10 16:02:39 -0400
commitd7120bab764f0cb817b8846aa33504da66d382a2 (patch)
tree4cdad036c2b10187b58877df291d77af6c415692
parent2de1c8f03fea7d234092508622ed84b7d03a079d (diff)
downloadpython-coveragepy-git-d7120bab764f0cb817b8846aa33504da66d382a2.tar.gz
tests/gold/html/Makefile: support more shells (#984)
* tests/gold/html/Makefile: support more shells Not all shells support the `[[` keywords. Among them are many `/bin/sh`. * Update tests/gold/html/Makefile Co-authored-by: Ned Batchelder <ned@nedbatchelder.com>
-rw-r--r--tests/gold/html/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gold/html/Makefile b/tests/gold/html/Makefile
index fa98714e..604ece7a 100644
--- a/tests/gold/html/Makefile
+++ b/tests/gold/html/Makefile
@@ -7,7 +7,7 @@ help:
complete: ## Copy support files into directories so the HTML can be viewed properly.
@for sub in *; do \
- if [[ -f $$sub/index.html ]]; then \
+ if [ -f "$$sub/index.html" ]; then \
echo Copying into $$sub ; \
cp -n support/* $$sub ; \
fi ; \