From: David Cantrell <dcantrell@xxxxxxxxxx> Create parent directories for logfiles if they do not exist. (cherry picked from commit abe159b350549c804e9e6cecf869a5e6cfa3340e) --- kickstart.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/kickstart.py b/kickstart.py index 506e061..1f414c5 100644 --- a/kickstart.py +++ b/kickstart.py @@ -62,7 +62,7 @@ class AnacondaKSScript(Script): else: messages = self.logfile - d = os.path.basename(messages) + d = os.path.dirname(messages) if not os.path.exists(d): os.makedirs(d) else: -- 1.7.2.1 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list