xbps_repo_sync: fix regression introduced in 87ca42f3.

This commit is contained in:
Juan RP 2014-10-24 11:16:24 +02:00
parent 87ca42f399
commit 789326cf3a

View File

@ -123,7 +123,7 @@ xbps_repo_sync(struct xbps_handle *xhp, const char *uri)
/* /*
* Remote repository plist index full URL. * Remote repository plist index full URL.
*/ */
repodata = xbps_xasprintf("%s-repodata", arch); repodata = xbps_xasprintf("%s/%s-repodata", uri, arch);
/* reposync start cb */ /* reposync start cb */
xbps_set_cb_state(xhp, XBPS_STATE_REPOSYNC, 0, repodata, NULL); xbps_set_cb_state(xhp, XBPS_STATE_REPOSYNC, 0, repodata, NULL);