[tor-commits] [tor/master] Silence SC1117 warnings

nickm at torproject.org nickm at torproject.org
Wed Dec 5 14:02:55 UTC 2018


commit 7dd515b0e0a12cfd9a324a878f7ca6b6b84b24cb
Author: rl1987 <rl1987 at sdf.lonestar.org>
Date:   Tue Nov 20 16:22:47 2018 +0200

    Silence SC1117 warnings
---
 scripts/maint/updateRustDependencies.sh | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/scripts/maint/updateRustDependencies.sh b/scripts/maint/updateRustDependencies.sh
index d2680856b..1e927dd0b 100755
--- a/scripts/maint/updateRustDependencies.sh
+++ b/scripts/maint/updateRustDependencies.sh
@@ -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





More information about the tor-commits mailing list