Radish alpha
H
HardenedBSD Package Manager
Radicle
Git (anonymous pull)
Log in to clone via SSH
D'Oh! After all that effort to read the manifest file name, perhaps we should use it to read the manifest from.
Matthew Seaman committed 13 years ago
commit e9d8b32d7b7655f5b676ef1cd672902b426eb4b5
parent b3e44e346b4f3b371015f168ce1f55af2a923cc2
1 file changed +1 -1
modified pkg/register.c
@@ -207,7 +207,7 @@ exec_register(int argc, char **argv)
	pkg_manifest_keys_new(&keys);

	if (mfile != NULL) {
-
		ret = pkg_load_manifest_file(pkg, fpath, keys);
+
		ret = pkg_load_manifest_file(pkg, mfile, keys);
		pkg_manifest_keys_free(keys);
		if (ret != EPKG_OK) 
			return (EX_IOERR);