Fixed dumb bug when dealing with ALL.

This commit is contained in:
Scott Duensing 2023-11-07 18:46:34 -06:00
parent e4e9ebd5b0
commit bf33607aa1

View file

@ -175,7 +175,7 @@ if [[ "${ARCH}" == "all" && "${PLAT}" == "all" ]]; then
HELP=0
for (( row=0; row<ROWS; row++ )); do
set -x
install_${ARCH}_${PLAT}
install_${PLATFORMS[$((${COLS}*${row}))]}_${PLATFORMS[$((${COLS}*${row}+1))]}
set +x
done
fi
@ -186,7 +186,7 @@ if [[ "${ARCH}" == "all" && "${PLAT}" != "all" ]]; then
for (( row=0; row<ROWS; row++ )); do
if [[ "${PLAT}" == "${PLATFORMS[$((${COLS}*${row}+1))]}" ]]; then
set -x
install_${ARCH}_${PLAT}
install_${PLATFORMS[$((${COLS}*${row}))]}_${PLAT}
set +x
fi
done