Fix SC2230 warning

This commit is contained in:
rl1987
2018-11-20 16:57:57 +02:00
parent 27e982b470
commit ba2a9988cc
+1 -1
View File
@@ -24,7 +24,7 @@ HERE=$(dirname "$(realpath "$0")")
TOPLEVEL=$(dirname "$(dirname "$HERE")")
TOML="$TOPLEVEL/src/rust/Cargo.toml"
VENDORED="$TOPLEVEL/src/ext/rust/crates"
CARGO=$(which cargo)
CARGO=$(command -v cargo)
if ! test -f "$TOML" ; then
printf "Error: Couldn't find workspace Cargo.toml in expected location: %s\\n" "$TOML"