Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
NULL,
};
+ // Create the directories
+ r = pakfire_mkparentdir(build_id_path, 0755);
+ if (r < 0)
+ return r;
+
// Run the command
r = pakfire_jail_exec_command(self->jail, argv, NULL, 0);
if (r < 0) {
// Extract the debug information
if (extract_debuginfo) {
- // Create the directories
- r = pakfire_mkparentdir(build_id_path, 0755);
- if (r < 0)
- goto ERROR;
-
r = pakfire_stripper_extract_debuginfo(self, file, elf, build_id_path);
if (r < 0)
goto ERROR;