Skip to content

Commit 03c1a14

Browse files
committed
Fix shellcheck lint error for Travis script
1 parent 187f854 commit 03c1a14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

developer-scripts/travis/test-script.InstallScript.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ if [[ -d "${BUILD_LOC_DIR}" ]]; then
2929
echo "Found opencoarrays build directory created by the install script:"
3030
echo " ${BUILD_LOC_DIR}"
3131
(
32-
cd "${BUILD_LOC}"
32+
cd "${BUILD_LOC[${#BUILD_LOC[@]}-1]}"
3333
CTEST_LOC=(../../../installations/cmake/*/bin/ctest)
3434
INSTALLER_CTEST="${CTEST_LOC[${#CTEST_LOC[@]}-1]}"
3535
if [[ -x "${INSTALLER_CTEST}" ]] ;then

0 commit comments

Comments
 (0)