mirror of
https://github.com/sharkdp/bat.git
synced 2025-09-01 10:52:24 +01:00
Fix syntax highlighting test update.sh to work on Mac OS
This commit is contained in:
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
|
||||||
|
Reference in New Issue
Block a user