Browse Source

Fix SC2230 warning

rl1987 5 years ago
parent
commit
ba2a9988cc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      scripts/maint/updateRustDependencies.sh

+ 1 - 1
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"