Skip to content

Commit 91e48a1

Browse files
committed
Fix shellcheck warning
1 parent 5e79fa8 commit 91e48a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cibw-build-mpi.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ if test ! -e "$WORKDIR"/config.log; then
260260
fi
261261
if test "$mpiname" = "mpich"; then
262262
compiler='s|"([^[:space:]]*).*"|"\1"|g'
263-
confargs='s|".*"|"'"${options[@]:3:2}"'"|g'
263+
confargs='s|".*"|"'"${options[*]:3:2}"'"|g'
264264
echo removing configure and compiler info in "$filename"
265265
sed -i.orig -E "/HYDRA_CC/ $compiler" "$filename"
266266
sed -i.orig -E "/MPICH_COMPILER_(C|F)/ $compiler" "$filename"

0 commit comments

Comments
 (0)