Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Add bits forgotten in previous commits
Baptiste Daroussin committed 6 years ago
commit 7db52cfeea2483b8a3ce05fa77581e04157d21a2
parent 88eb0b2
1 file changed +1 -1
modified libpkg/pkg_ports.c
@@ -1340,7 +1340,7 @@ pkg_add_port(struct pkgdb *db, struct pkg *pkg, const char *input_path,

		if (input_path != NULL) {
			pkg_register_cleanup_callback(pkg_rollback_cb, pkg);
-
			rc = pkg_add_fromdir(db, pkg, input_path);
+
			rc = pkg_add_fromdir(pkg, input_path);
			pkg_unregister_cleanup_callback(pkg_rollback_cb, pkg);
			if (rc != EPKG_OK) {
				pkg_rollback_pkg(pkg);