From 5cb74b7ec90355882043396a3e4504affee0845c Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 5 Mar 2013 05:03:15 +0100 Subject: [PATCH] xbps-rindex: fixed -c --clean mode (missing args wtf). --- bin/xbps-rindex/index-clean.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/xbps-rindex/index-clean.c b/bin/xbps-rindex/index-clean.c index d471fe4c..dc955cc2 100644 --- a/bin/xbps-rindex/index-clean.c +++ b/bin/xbps-rindex/index-clean.c @@ -66,7 +66,7 @@ cleaner_thread(void *arg) pkgd = prop_dictionary_get_keysym(thd->idx, obj); prop_dictionary_get_cstring_nocopy(pkgd, "architecture", &arch); prop_dictionary_get_cstring_nocopy(pkgd, "pkgver", &pkgver); - filen = xbps_xasprintf("%s.%s.xbps"); + filen = xbps_xasprintf("%s.%s.xbps", pkgver, arch); xbps_dbg_printf(thd->xhp, "thread[%d] checking %s\n", thd->thread_num, pkgver); if (access(filen, R_OK) == -1) {