Fixed some shellcheck warnings

pull/1062/head
Nils Winkler 2017-10-17 07:48:41 +02:00
parent 395e9eff3c
commit e729826ec0
1 changed files with 3 additions and 1 deletions

View File

@ -5,7 +5,9 @@ bats_executable="${test_directory}/../test_lib/bats-core/bin/bats"
git submodule init && git submodule update
if [ -z "${BASH_IT}" ]; then
export BASH_IT=$(cd ${test_directory} && dirname $(pwd))
declare BASH_IT
BASH_IT=$(cd ${test_directory} && dirname "$(pwd)")
export BASH_IT
fi
exec $bats_executable ${CI:+--tap} ${test_directory}/{bash_it,completion,install,lib,plugins,themes}