scripts/oem/ami: fix bad array subscript

Broken in 8abceaa20e10ff5f3543a54e69b5accddfd5f7b9.
This commit is contained in:
Alex Crawford 2014-11-17 11:57:46 -08:00
parent 96d11eb03b
commit febf7a064e

View File

@ -33,7 +33,7 @@ GROUP="alpha"
REGIONS=()
add_region() {
if [[ -z "${ALL_REGIONS[$1]}" ]]; then
if [[ -z "${ALL_AKIS[$1]}" ]]; then
echo "Invalid region '$1'" >&2;
exit 1
fi