Skip to content

Commit d7120ba

Browse files
rillignedbat
andauthored
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 <[email protected]>
1 parent 2de1c8f commit d7120ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/gold/html/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ help:
77

88
complete: ## Copy support files into directories so the HTML can be viewed properly.
99
@for sub in *; do \
10-
if [[ -f $$sub/index.html ]]; then \
10+
if [ -f "$$sub/index.html" ]; then \
1111
echo Copying into $$sub ; \
1212
cp -n support/* $$sub ; \
1313
fi ; \

0 commit comments

Comments
 (0)