Radish alpha
H
HardenedBSD Package Manager
Radicle
Git (anonymous pull)
Log in to clone via SSH
Fix error message
Baptiste Daroussin committed 10 years ago
commit d691576564737653a811aa9391742d069acc693d
parent 942aa46c76b1e90b39dfe29d454b9485f1258c2d
1 file changed +2 -2
modified libpkg/pkg.c
@@ -756,10 +756,10 @@ pkg_addfile_attr(struct pkg *pkg, const char *path, const char *sum,

	if (check_duplicates && kh_contains(pkg_files, pkg->files, path)) {
		if (developer_mode) {
-
			pkg_emit_error("duplicate file listing: %s, fatal (developer mode)", f->path);
+
			pkg_emit_error("duplicate file listing: %s, fatal (developer mode)", path);
			return (EPKG_FATAL);
		} else {
-
			pkg_emit_error("duplicate file listing: %s, ignoring", f->path);
+
			pkg_emit_error("duplicate file listing: %s, ignoring", path);
			return (EPKG_OK);
		}
	}