scripts: check-image-compatibility.sh: remove unused variable extension
extenstion variable is never used, hence remove Signed-off-by: Ruslan Mstoi <ruslan.mstoi@intel.com>
This commit is contained in:
parent
82cac6f6ad
commit
a9340f5d9d
1 changed files with 0 additions and 2 deletions
|
|
@ -77,8 +77,6 @@ else
|
|||
working_dir=`readlink -m ${working_dir}`
|
||||
fi
|
||||
|
||||
#get file extension and image type
|
||||
extension="${file_name##*.}"
|
||||
filename="${file_name%.*}"
|
||||
dest_file=${working_dir}/${filename}.raw
|
||||
image_type=$(qemu-img info ${file_abs_path} | grep 'file format:' | awk '{ print $3 }')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue