xbps-bin: fix download local dir when fetching binpkgs from remote repos.

--HG--
extra : convert_revision : xtraeme%40gmail.com-20091123235632-vbpn1br170fv73l3
This commit is contained in:
Juan RP 2009-11-23 23:56:32 +00:00
parent bf82b6512d
commit 01cbe9a63b

View File

@ -148,7 +148,7 @@ download_package_list(prop_object_iterator_t iter)
if (repoloc_trans == NULL) if (repoloc_trans == NULL)
return errno; return errno;
savedir = xbps_xasprintf("%s/%s/repo/%s/%s", savedir = xbps_xasprintf("%s/%s/%s/%s",
xbps_get_rootdir(), XBPS_META_PATH, repoloc_trans, arch); xbps_get_rootdir(), XBPS_META_PATH, repoloc_trans, arch);
if (savedir == NULL) { if (savedir == NULL) {
free(repoloc_trans); free(repoloc_trans);