diff options
author | rl1987 <rl1987@sdf.lonestar.org> | 2019-02-13 15:04:12 +0200 |
---|---|---|
committer | rl1987 <rl1987@sdf.lonestar.org> | 2019-02-13 15:04:12 +0200 |
commit | ad48aab0565e8498fd68428fb2cfaa46b39ffc01 (patch) | |
tree | b2baf3f60b0f97e7e32f0eca237b8253ec9fdd2f | |
parent | 10455aeff228042ee769205e43788d0e81cde910 (diff) | |
download | tor-ad48aab0565e8498fd68428fb2cfaa46b39ffc01.tar.gz tor-ad48aab0565e8498fd68428fb2cfaa46b39ffc01.zip |
Let's not double-quote EXTRA_CARGO_OPTIONS after all
-rwxr-xr-x | src/test/test_rust.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/test_rust.sh b/src/test/test_rust.sh index da2bd32d21..804d2ada36 100755 --- a/src/test/test_rust.sh +++ b/src/test/test_rust.sh @@ -14,12 +14,13 @@ rustc_host=$(rustc -vV | grep host | sed 's/host: //') for cargo_toml_dir in "${abs_top_srcdir:-../../..}"/src/rust/*; do if [ -e "${cargo_toml_dir}/Cargo.toml" ]; then + # shellcheck disable=SC2086 cd "${abs_top_builddir:-../../..}/src/rust" && \ CARGO_TARGET_DIR="${abs_top_builddir:-../../..}/src/rust/target" \ "${CARGO:-cargo}" test "${CARGO_ONLINE-'--frozen'}" \ --features "test_linking_hack" \ --target "$rustc_host" \ - "${EXTRA_CARGO_OPTIONS}" \ + ${EXTRA_CARGO_OPTIONS} \ --manifest-path "${cargo_toml_dir}/Cargo.toml" || exitcode=1 fi done |