for file_a in ${IMX_HOME}/*; do
temp_file=`basename $file_a`
if [[ $temp_file =~ "Update-v"&&-d $temp_file ]]; then
if [[ ! $temp_file =~ $current_version ]];then
echo $temp_file | cut -c 9-13
fi
fi
done
相关文章: