scripts: check-image-compatibility.sh: fix variable name typo

Fix liness to lines

Signed-off-by: Ruslan Mstoi <ruslan.mstoi@intel.com>
This commit is contained in:
Ruslan Mstoi 2024-01-30 17:56:38 +02:00 committed by Bo Chen
parent c1206b604e
commit 82cac6f6ad

View File

@ -116,7 +116,7 @@ out=`fdisk -l ${dest_file} --bytes | grep -i -A ${nr_partitions} 'Device' | tai
IFS=' IFS='
' '
i=0 i=0
declare -A liness declare -A lines
for x in $out ; do for x in $out ; do
lines[$i]=$x lines[$i]=$x
i=$((i+1)) i=$((i+1))