Skip to content

Commit

Permalink
Fix regression when packaging from installed package
Browse files Browse the repository at this point in the history
  • Loading branch information
bapt committed Mar 9, 2020
1 parent f45bf67 commit aaf3eba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libpkg/pkg_create.c
Original file line number Diff line number Diff line change
Expand Up @@ -324,9 +324,9 @@ pkg_create_i(struct pkg_create *pc, struct pkg *pkg, bool hash)
}

if ((ret = pkg_create_from_dir(pkg, NULL, pkg_archive)) != EPKG_OK) {
packing_finish(pkg_archive);
pkg_emit_error("package creation failed");
}
packing_finish(pkg_archive);

if (hash && ret == EPKG_OK)
ret = hash_file(pc, pkg);
Expand Down

0 comments on commit aaf3eba

Please sign in to comment.