From 2da2d4e365e37738aa45e5b7e3b5ec2f53fa72d4 Mon Sep 17 00:00:00 2001 From: Stephen Akridge Date: Tue, 5 Jun 2018 13:49:41 -0700 Subject: [PATCH] More shellcheck --- ci/test-cuda.sh | 2 +- ci/test-erasure.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ci/test-cuda.sh b/ci/test-cuda.sh index 53aedac5e8..4dd17b46db 100755 --- a/ci/test-cuda.sh +++ b/ci/test-cuda.sh @@ -15,7 +15,7 @@ if [[ ! -r $LIB ]]; then fi # shellcheck disable=SC1090 # <-- shellcheck can't follow ~ -source ~/.cargo/env +source $HOME/.cargo/env export RUST_BACKTRACE=1 cargo test --features=cuda diff --git a/ci/test-erasure.sh b/ci/test-erasure.sh index 3772e7220e..a7cef707d8 100755 --- a/ci/test-erasure.sh +++ b/ci/test-erasure.sh @@ -2,7 +2,7 @@ set -o xtrace -cd "$(dirname $0)/.." +cd "$(dirname "$0")/.." if [[ -z "${libgf_complete_URL:-}" ]]; then echo libgf_complete_URL undefined