diff options
author | rl1987 <rl1987@sdf.lonestar.org> | 2018-11-20 16:57:57 +0200 |
---|---|---|
committer | rl1987 <rl1987@sdf.lonestar.org> | 2018-11-20 16:57:57 +0200 |
commit | ba2a9988ccd40b9c2ef1f16cb7960191b4131d78 (patch) | |
tree | 58449836aa33cca58b1eeef146fcf972b257d9a0 /scripts | |
parent | 27e982b470f4d401a9be687609897ab3320591e1 (diff) | |
download | tor-ba2a9988ccd40b9c2ef1f16cb7960191b4131d78.tar.gz tor-ba2a9988ccd40b9c2ef1f16cb7960191b4131d78.zip |
Fix SC2230 warning
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/maint/updateRustDependencies.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/maint/updateRustDependencies.sh b/scripts/maint/updateRustDependencies.sh index 0b303d5382..6d0587351f 100755 --- 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" |