xbps-checkvers: set rcv->fname when loading from cache

This commit is contained in:
Duncaen 2019-06-15 15:19:30 +02:00 committed by Duncan Overbruck
parent 3805fd5297
commit e495f84954

View File

@ -413,6 +413,7 @@ rcv_process_file(rcv_t *rcv, const char *fname, rcv_check_func check)
goto update;
rcv->env = d;
rcv->have_vars = GOT_PKGNAME_VAR | GOT_VERSION_VAR | GOT_REVISION_VAR;
rcv->fname = fname;
} else {
update:
if (!rcv_load_file(rcv, fname)) {