From 3d0aa5a22ca34a8bc4f97b9321e8f3a61cab439a Mon Sep 17 00:00:00 2001 From: varac Date: Tue, 11 Oct 2016 10:58:23 +0200 Subject: Lint ci-build.sh --- tests/platform-ci/ci-build.sh | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'tests') diff --git a/tests/platform-ci/ci-build.sh b/tests/platform-ci/ci-build.sh index 63699e02..a156f314 100755 --- a/tests/platform-ci/ci-build.sh +++ b/tests/platform-ci/ci-build.sh @@ -12,13 +12,17 @@ # # leap_platform/tests/platform-ci -export ROOTDIR=$(readlink -f "$(dirname $0)") +export ROOTDIR +# shellcheck disable=SC2086 +ROOTDIR=$(readlink -f "$(dirname $0)") # leap_platform/tests/platform-ci/provider -export PROVIDERDIR="${ROOTDIR}/provider" +export PROVIDERDIR +PROVIDERDIR="${ROOTDIR}/provider" # leap_platform -export PLATFORMDIR=$(readlink -f "${ROOTDIR}/../..") +export PLATFORMDIR +PLATFORMDIR=$(readlink -f "${ROOTDIR}/../..") # leap_platform/builds export BUILDSDIR="${PLATFORMDIR}/builds" @@ -49,6 +53,6 @@ leap-platform-test add_nodes "$NODES" leap-platform-test -v init_deploy leap-platform-test -v test -cd $PROVIDERDIR +cd "$PROVIDERDIR" $LEAP_CMD info "${TAG}" $LEAP_CMD local destroy "${TAG}" -- cgit v1.2.3