xbps-rindex: fixed -c --clean mode (missing args wtf).

This commit is contained in:
Juan RP 2013-03-05 05:03:15 +01:00
parent 0e50b09cbe
commit 5cb74b7ec9

View File

@ -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) {