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

This commit is contained in:
Ethan P 2020-10-04 00:31:28 -07:00 committed by David Peter
parent b8535689d3
commit 51d25e5859

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