Fix syntax highlighting test update.sh to work on Mac OS

This commit is contained in:
Ethan P authored and David Peter committed 2020-10-04 11:00:57 +02:00
1 parent b8535689d3
commit 51d25e5859
1 file changed
+3 -1
+3 -1
View File
@@ -1,3 +1,5 @@
#!/bin/bash
python create_highlighted_versions.py -O highlighted
python="python3"
if ! command -v python3 &>/dev/null; then python="python"; fi
"$python" create_highlighted_versions.py -O highlighted