on master help sign in
Fix syntax highlighting test update.sh to work on Mac OS
51d25e5Ethan P
tests/syntax-tests/update.sh+3−1
@@ -1,3 +1,5 @@
1#!/bin/bash
1#!/bin/bash
2
2
3+python="python3"
4+if ! command -v python3 &>/dev/null; then python="python"; fi
3−python create_highlighted_versions.py -O highlighted
5+"$python" create_highlighted_versions.py -O highlighted