migrate2rocky: use $convert_info_dir consistently

We set convert_info_dir=/root/convert.  Use it consistently.
This commit is contained in:
Todd Zullinger 2021-12-24 15:15:45 -08:00
parent 68c77adbb3
commit fc137590b5

View File

@ -785,7 +785,7 @@ usage() {
} >&2
generate_rpm_info() {
mkdir /root/convert
mkdir "$convert_info_dir"
infomsg "Creating a list of RPMs installed: $1"$'\n'
# shellcheck disable=SC2140
rpm -qa --qf \
@ -1185,7 +1185,7 @@ fi
if [[ $verify_all_rpms && $convert_to_rocky ]]; then
generate_rpm_info finish
infomsg $'You may review the following files:\n'
find /root/convert -type f -name "$HOSTNAME-rpms-*.log"
find "$convert_info_dir" -type f -name "$HOSTNAME-rpms-*.log"
fi
if [[ $update_efi && $convert_to_rocky ]]; then