* Remove lock files after building.
This commit is contained in:
		
							parent
							
								
									06208d1d86
								
							
						
					
					
						commit
						7a02d95418
					
				
					 3 changed files with 20 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -256,6 +256,11 @@ Path normaliseStoreExpr(const Path & _nePath, PathSet pending)
 | 
			
		|||
    registerSuccessor(txn, nePath, nfPath);
 | 
			
		||||
    txn.commit();
 | 
			
		||||
 | 
			
		||||
    /* It is now safe to delete the lock files, since all future
 | 
			
		||||
       lockers will see the successor; they will not create new lock
 | 
			
		||||
       files with the same names as the old (unlinked) lock files. */
 | 
			
		||||
    outputLocks.setDeletion(true);
 | 
			
		||||
 | 
			
		||||
    return nfPath;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue