diff --git a/scripts/check-image-compatibility.sh b/scripts/check-image-compatibility.sh index 16c84d40f..6595a7225 100644 --- a/scripts/check-image-compatibility.sh +++ b/scripts/check-image-compatibility.sh @@ -116,7 +116,7 @@ out=`fdisk -l ${dest_file} --bytes | grep -i -A ${nr_partitions} 'Device' | tai IFS=' ' i=0 -declare -A liness +declare -A lines for x in $out ; do lines[$i]=$x i=$((i+1))