mirror of
https://github.com/sharkdp/bat.git
synced 2025-09-02 11:22:30 +01:00
Add change dir to script dir to allow running from project root dir
This commit is contained in:
2
tests/syntax-tests/update.sh
vendored
2
tests/syntax-tests/update.sh
vendored
@@ -1,5 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
cd "$(dirname "${BASH_SOURCE[0]}")"
|
||||
|
||||
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