mirror of
https://github.com/sharkdp/bat.git
synced 2025-02-18 10:41:05 +01:00
Fix syntax highlighting test update.sh to work on Mac OS
This commit is contained in:
parent
b8535689d3
commit
51d25e5859
4
tests/syntax-tests/update.sh
vendored
4
tests/syntax-tests/update.sh
vendored
@ -1,3 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/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
|
||||||
|
Loading…
Reference in New Issue
Block a user