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]
/
ci
/
travis-install-pmdk.sh
diff --git
a/ci/travis-install-pmdk.sh
b/ci/travis-install-pmdk.sh
index 803438f8f832a8b0ea1135a57e3ae3b977b0292d..3b0b5bbc56ac1a4960637874c223cf61796bcb97 100755
(executable)
--- a/
ci/travis-install-pmdk.sh
+++ b/
ci/travis-install-pmdk.sh
@@
-12,7
+12,7
@@
WORKDIR=$(pwd)
# /bin/sh: 1: clang: not found
# if CC is not set to the full path of clang.
#
-export CC=$(
which
$CC)
+export CC=$(
type -P
$CC)
# Install PMDK libraries, because PMDK's libpmem
# is a dependency of the librpma fio engine.