mirror of
https://github.com/sharkdp/bat.git
synced 2025-09-02 03:12:25 +01:00
Merge branch 'master' into improved-benchmark
This commit is contained in:
8
tests/benchmarks/run-benchmarks.sh
vendored
8
tests/benchmarks/run-benchmarks.sh
vendored
@@ -1,10 +1,10 @@
|
||||
#!/usr/bin/env bash
|
||||
cd "$(dirname "${BASH_SOURCE[0]}")"
|
||||
cd "$(dirname "${BASH_SOURCE[0]}")" || exit
|
||||
|
||||
# Check that Hyperfine is installed.
|
||||
if ! which hyperfine > /dev/null 2>&1; then
|
||||
echo "'hyperfine' does not seem to be installed." 1>&2
|
||||
echo "You can get it here: https://github.com/sharkdp/hyperfine" 1>&2
|
||||
if ! command -v hyperfine > /dev/null 2>&1; then
|
||||
echo "'hyperfine' does not seem to be installed."
|
||||
echo "You can get it here: https://github.com/sharkdp/hyperfine"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
Reference in New Issue
Block a user