>>>>> On Sun, 28 Aug 2022, Yiyang Wu wrote:

> -             if has ${gpu_target} "${OFFICIAL_AMDGPU_TARGETS[*]}"; then
> +             if has "${gpu_target}" ${OFFICIAL_AMDGPU_TARGETS[*]}; then

This still doesn't look right. It should be:

                if has "${gpu_target}" "${OFFICIAL_AMDGPU_TARGETS[@]}"; then

From Bash documentation:

| If the word is double-quoted, '${NAME[*]}' expands to a single word
| with the value of each array member separated by the first character
| of the 'IFS' variable, and '${NAME[@]}' expands each element of NAME
| to a separate word.


Attachment: signature.asc
Description: PGP signature

Reply via email to