[travis] Fix unbound variable

This commit is contained in:
Florian Dehau 2017-10-30 22:44:32 +01:00
parent 20d373b5f9
commit afe5317592

View file

@ -4,6 +4,6 @@ set -eu
export PATH="$PATH:$HOME/.cargo/bin"
if [[ "$TRAVIS_RUST_VERSION" == "nightly" ]]; then
export LD_LIBRARY_PATH=$(rustc +nightly --print sysroot)/lib:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH="$(rustc +nightly --print sysroot)/lib:${LD_LIBRARY_PATH:-""}"
make install-tools
fi