Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Fix build
Baptiste Daroussin committed 12 years ago
commit ae0ce2eee8b027fa4ea376644e90461e94844450
parent d06d819
1 file changed +1 -1
modified libpkg/pkg_repo.c
@@ -70,7 +70,7 @@ pkg_repo_fetch(struct pkg *pkg)
	pkg_get(pkg, PKG_REPONAME, &reponame,
	    PKG_CKSUM, &sum, PKG_NAME, &name, PKG_VERSION, &version);

-
	snprintf(dest, sizeof(dest), "%s/%s", cachedir, repopath);
+
	pkg_snprintf(dest, sizeof(dest), "%S/%R", cachedir, pkg);

	/* If it is already in the local cachedir, dont bother to
	 * download it */