xbps-checkvers: set rcv->fname when loading from cache
This commit is contained in:
		
				
					committed by
					
						
						Duncan Overbruck
					
				
			
			
				
	
			
			
			
						parent
						
							3805fd5297
						
					
				
				
					commit
					e495f84954
				
			@@ -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)) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user