projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ci, t, tools: use `command` and `type` instead of `which`
[fio.git]
/
tools
/
fio_generate_plots
diff --git
a/tools/fio_generate_plots
b/tools/fio_generate_plots
index e4558788150d2cadfa9706a24a16cb75c5994246..468cf27a6c2ae6dd693972947fd24d00f8933424 100755
(executable)
--- a/
tools/fio_generate_plots
+++ b/
tools/fio_generate_plots
@@
-21,7
+21,7
@@
if [ -z "$1" ]; then
exit 1
fi
-GNUPLOT=$(
which
gnuplot)
+GNUPLOT=$(
command -v
gnuplot)
if [ ! -x "$GNUPLOT" ]
then
echo You need gnuplot installed to generate graphs