]> git.ipfire.org Git - people/stevee/pakfire.git/commit
repo: compose: Ensure that the destination path always exists
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 9 Mar 2023 15:34:35 +0000 (15:34 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 9 Mar 2023 15:34:35 +0000 (15:34 +0000)
commit0736f78157e35e650b90af5dcff4275834efb9be
tree3897a90e68eb60c93ca502b4b52db512566bf99c
parentb0bdddb318ca32200d6a481fbd080cfe21a73cf8
repo: compose: Ensure that the destination path always exists

realpath() fails if the destination does not exist, so we will try to
create it before.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/libpakfire/repo.c