From 01cbe9a63b12b07389be7e77b64aa56422ea9c82 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Mon, 23 Nov 2009 23:56:32 +0000 Subject: [PATCH] xbps-bin: fix download local dir when fetching binpkgs from remote repos. --HG-- extra : convert_revision : xtraeme%40gmail.com-20091123235632-vbpn1br170fv73l3 --- bin/xbps-bin/install.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/xbps-bin/install.c b/bin/xbps-bin/install.c index 508f4685..686a168b 100644 --- a/bin/xbps-bin/install.c +++ b/bin/xbps-bin/install.c @@ -148,7 +148,7 @@ download_package_list(prop_object_iterator_t iter) if (repoloc_trans == NULL) 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); if (savedir == NULL) { free(repoloc_trans);