commit ba2a9988ccd40b9c2ef1f16cb7960191b4131d78
parent 27e982b470f4d401a9be687609897ab3320591e1
Author: rl1987 <rl1987@sdf.lonestar.org>
Date: Tue, 20 Nov 2018 16:57:57 +0200
Fix SC2230 warning
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/maint/updateRustDependencies.sh b/scripts/maint/updateRustDependencies.sh
@@ -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"