From d7120bab764f0cb817b8846aa33504da66d382a2 Mon Sep 17 00:00:00 2001 From: Roland Illig Date: Sun, 10 May 2020 22:02:39 +0200 Subject: 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 --- tests/gold/html/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ; \ -- cgit v1.2.1