Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
make the checksum of the file from stage directory
Baptiste Daroussin committed 13 years ago
commit 0d147cab0b6f63644edb46d6588b1702ceb5f224
parent ef6db29
1 file changed +1 -1
modified libpkg/pkg_ports.c
@@ -221,7 +221,7 @@ file(struct plist *p, char *line)

		if (regular) {
			p->flatsize += st.st_size;
-
			sha256_file(path, sha256);
+
			sha256_file(testpath, sha256);
			buf = sha256;
		}
		return (pkg_addfile_attr(p->pkg, path, buf, p->uname, p->gname, p->perm, true));