diff options
author | Roland Illig <roland.illig@gmx.de> | 2020-05-10 22:02:39 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-10 16:02:39 -0400 |
commit | d7120bab764f0cb817b8846aa33504da66d382a2 (patch) | |
tree | 4cdad036c2b10187b58877df291d77af6c415692 | |
parent | 2de1c8f03fea7d234092508622ed84b7d03a079d (diff) | |
download | python-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/Makefile | 2 |
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 ; \ |