koji_directive: always create target_dir
ClosedPublic

Authored by kparal on Mar 22 2017, 4:15 PM.

Details

Summary

Make sure target_dir is always created, even when no downloading is
performed. That makes it simpler for subsequent scripts - they can just
check whether a directory is empty, without also handling the case when
the directory doesn't exist (which was not obvious before).

This fixes abicheck crashes like these:
http://taskotron-dev.fedoraproject.org/taskmaster/builders/x86_64/builds/403176

Test Plan

Tested with abicheck, works now.

Diff Detail

Repository
rLTRN libtaskotron
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
kparal created this revision.Mar 22 2017, 4:15 PM
mkrizek accepted this revision.Mar 23 2017, 8:51 AM
This revision is now accepted and ready to land.Mar 23 2017, 8:51 AM
Closed by commit rLTRN3a8df125c5fb: koji_directive: always create target_dir (authored by Kamil Páral <kparal@redhat.com>). · Explain WhyMar 23 2017, 8:57 AM
This revision was automatically updated to reflect the committed changes.