xbps-checkvers: set rcv->fname when loading from cache
This commit is contained in:
parent
3805fd5297
commit
e495f84954
@ -413,6 +413,7 @@ rcv_process_file(rcv_t *rcv, const char *fname, rcv_check_func check)
|
|||||||
goto update;
|
goto update;
|
||||||
rcv->env = d;
|
rcv->env = d;
|
||||||
rcv->have_vars = GOT_PKGNAME_VAR | GOT_VERSION_VAR | GOT_REVISION_VAR;
|
rcv->have_vars = GOT_PKGNAME_VAR | GOT_VERSION_VAR | GOT_REVISION_VAR;
|
||||||
|
rcv->fname = fname;
|
||||||
} else {
|
} else {
|
||||||
update:
|
update:
|
||||||
if (!rcv_load_file(rcv, fname)) {
|
if (!rcv_load_file(rcv, fname)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user