Skip to content

Commit 61a1cd4

Browse files
committed
Fix type in Travis script
1 parent 03c1a14 commit 61a1cd4

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
@@ -24,7 +24,7 @@ echo "Performing Travis-CI script phase for the OpenCoarrays installation script
2424

2525
./install.sh --yes-to-all -i "${HOME}/opencoarrays" -j 4 -f "$(type -P "${FC}")" -c "$(type -P "${CC}")" -C "$(type -P "${CXX}")"
2626
BUILD_LOC=(prerequisites/builds/opencoarrays/*/)
27-
BUILD_LOC_DIR="${BUILD_LOC[${#BUILD_LOC[@]}]-1}"
27+
BUILD_LOC_DIR="${BUILD_LOC[${#BUILD_LOC[@]}-1]}"
2828
if [[ -d "${BUILD_LOC_DIR}" ]]; then
2929
echo "Found opencoarrays build directory created by the install script:"
3030
echo " ${BUILD_LOC_DIR}"

0 commit comments

Comments
 (0)