Fix shellcheck

This commit is contained in:
Stephen Akridge 2018-06-05 13:30:36 -07:00 committed by Greg Fitzgerald
parent a710d95243
commit 8eb76ab2a5
1 changed files with 4 additions and 3 deletions

View File

@ -2,14 +2,14 @@
set -o xtrace
cd $(dirname $0)/..
cd "$(dirname $0)/.."
if [[ -z "$libgf_complete_URL" ]]; then
if [[ -z "${libgf_complete_URL:-}" ]]; then
echo libgf_complete_URL undefined
exit 1
fi
if [[ -z "$libJerasure_URL" ]]; then
if [[ -z "${libJerasure_URL:-}" ]]; then
echo libJerasure_URL undefined
exit 1
fi
@ -22,6 +22,7 @@ ln -s libJerasure.so libJerasure.so.2.0.0
ln -s libgf_complete.so libgf_complete.so.1.0.0
export LD_LIBRARY_PATH=$PWD:$LD_LIBRARY_PATH
# shellcheck disable=SC1090 # <-- shellcheck can't follow ~
source $HOME/.cargo/env
cargo test --features="erasure"