From 789326cf3a14cc86009de1ef5d26a989046bc668 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 24 Oct 2014 11:16:24 +0200 Subject: [PATCH] xbps_repo_sync: fix regression introduced in 87ca42f3. --- lib/repo_sync.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/repo_sync.c b/lib/repo_sync.c index db9d7241..bf303dd3 100644 --- a/lib/repo_sync.c +++ b/lib/repo_sync.c @@ -123,7 +123,7 @@ xbps_repo_sync(struct xbps_handle *xhp, const char *uri) /* * Remote repository plist index full URL. */ - repodata = xbps_xasprintf("%s-repodata", arch); + repodata = xbps_xasprintf("%s/%s-repodata", uri, arch); /* reposync start cb */ xbps_set_cb_state(xhp, XBPS_STATE_REPOSYNC, 0, repodata, NULL);