In contrast to "ptxdist clean", "ptxdist distclean" did not remove $PTX_LOGFILE. The variable wasn't yet initialized when calling clean() wherein the logfile should have been removed.
Signed-off-by: Markus Heidelberg <[email protected]> --- I'm unsure whether this is the right fix, but without it my description of the next patch would be partly untrue. Maybe it was a regression introduced in commit 9f8e963a2c6 ("ptxdist: don't create the logfile until the platformdir is verified", 2014-02-23). bin/ptxdist | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/ptxdist b/bin/ptxdist index 1503d2e33..08d7f03c4 100755 --- a/bin/ptxdist +++ b/bin/ptxdist @@ -1798,6 +1798,7 @@ EOF exit ;; distclean) + setup_logfile && clean echo "${PTXDIST_LOG_PROMPT}removing configuration links..." -- 2.43.0
