Radish alpha
H
HardenedBSD Package Manager
Radicle
Git (anonymous pull)
Log in to clone via SSH
Fix repository generation when packages are in a subdir
Baptiste Daroussin committed 15 years ago
commit 6fb84eaae422d793cb29de4fdb64b2b4ee167f02
parent 547bc687f7fafdcf259b869d90885279f36e8ff8
1 file changed +1 -1
modified libpkg/pkg_repo.c
@@ -124,7 +124,7 @@ pkg_create_repo(char *path, void (progress)(struct pkg *pkg, void *data), void *
				strcmp(ext, ".tar") != 0)
			continue;

-
		if (pkg_open(&pkg, ent->fts_path) != EPKG_OK) {
+
		if (pkg_open(&pkg, ent->fts_accpath) != EPKG_OK) {
			if (progress != NULL) {
				pkg_error_set(EPKG_WARN, "can not open %s: %s", ent->fts_name,
							  pkg_error_string());