Fix shellcheck
This commit is contained in:
parent
a710d95243
commit
8eb76ab2a5
|
@ -2,14 +2,14 @@
|
||||||
|
|
||||||
set -o xtrace
|
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
|
echo libgf_complete_URL undefined
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ -z "$libJerasure_URL" ]]; then
|
if [[ -z "${libJerasure_URL:-}" ]]; then
|
||||||
echo libJerasure_URL undefined
|
echo libJerasure_URL undefined
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
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
|
ln -s libgf_complete.so libgf_complete.so.1.0.0
|
||||||
export LD_LIBRARY_PATH=$PWD:$LD_LIBRARY_PATH
|
export LD_LIBRARY_PATH=$PWD:$LD_LIBRARY_PATH
|
||||||
|
|
||||||
|
# shellcheck disable=SC1090 # <-- shellcheck can't follow ~
|
||||||
source $HOME/.cargo/env
|
source $HOME/.cargo/env
|
||||||
cargo test --features="erasure"
|
cargo test --features="erasure"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue