Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
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 b3e44e3
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);