catalyst-auto: extra echo to debug CLST_AUTO_NOCLEAN

Signed-off-by: Ben Kohler <bkohler@gentoo.org>
This commit is contained in:
Ben Kohler 2024-04-02 06:52:05 -05:00
parent 69b60ed89e
commit e86116180e
No known key found for this signature in database
GPG key ID: 7A85BDA4D57605C7

View file

@ -544,6 +544,7 @@ run_catalyst_commands() {
specpath=$(readlink -f "${i}") specpath=$(readlink -f "${i}")
# Bail out of cleaning (eg) stage3-openrc.spec failure if # Bail out of cleaning (eg) stage3-openrc.spec failure if
# CLST_AUTO_NOCLEAN="stage3-openrc.spec" is set # CLST_AUTO_NOCLEAN="stage3-openrc.spec" is set
run_cmd "${LOGFILE}" "${timeprefix[@]}" echo "Testing ${i} against CLST_AUTO_NOCLEAN=${CLST_AUTO_NOCLEAN}"
[[ ${CLST_AUTO_NOCLEAN} == *${i}* ]] || [[ ${CLST_AUTO_NOCLEAN} == *${i}* ]] ||
run_cmd "${LOGFILE}" "${timeprefix[@]}" catalyst --purgetmponly -c "${CATALYST_CONFIG}" -f "${specpath}" run_cmd "${LOGFILE}" "${timeprefix[@]}" catalyst --purgetmponly -c "${CATALYST_CONFIG}" -f "${specpath}"
done done