mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
Silence SC1117 warnings
This commit is contained in:
parent
5b48af9c4c
commit
7dd515b0e0
@ -27,19 +27,19 @@ VENDORED="$TOPLEVEL/src/ext/rust/crates"
|
||||
CARGO=$(which cargo)
|
||||
|
||||
if ! test -f "$TOML" ; then
|
||||
printf "Error: Couldn't find workspace Cargo.toml in expected location: %s\n" "$TOML"
|
||||
printf "Error: Couldn't find workspace Cargo.toml in expected location: %s\\n" "$TOML"
|
||||
fi
|
||||
|
||||
if ! test -d "$VENDORED" ; then
|
||||
printf "Error: Couldn't find directory for Rust dependencies! Expected location: %s\n" "$VENDORED"
|
||||
printf "Error: Couldn't find directory for Rust dependencies! Expected location: %s\\n" "$VENDORED"
|
||||
fi
|
||||
|
||||
if test -z "$CARGO" ; then
|
||||
printf "Error: cargo must be installed and in your \$PATH\n"
|
||||
printf "Error: cargo must be installed and in your \$PATH\\n"
|
||||
fi
|
||||
|
||||
if test -z $(cargo --list | grep vendor) ; then
|
||||
printf "Error: cargo-vendor not installed\n"
|
||||
printf "Error: cargo-vendor not installed\\n"
|
||||
fi
|
||||
|
||||
$CARGO vendor -v --locked --explicit-version --no-delete --sync $TOML $VENDORED
|
||||
|
Loading…
Reference in New Issue
Block a user