Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 199868 | Differences between
and this patch

Collapse All | Expand All

(-)portage.orig/pym/portage/busy.py (-2 / +2 lines)
Lines 32-43 Link Here
32
32
33
		self.cleanBusyFiles()
33
		self.cleanBusyFiles()
34
	
34
	
35
	def getDestFilename(self, srcfile):
35
	def getDestFilename(self, destdir, srcfile):
36
		"""calculate a destination filename based on the srcfile filename."""
36
		"""calculate a destination filename based on the srcfile filename."""
37
		my_fn = ".$busy-" + srcfile + "."
37
		my_fn = ".$busy-" + srcfile + "."
38
		my_num = 0
38
		my_num = 0
39
		
39
		
40
		while os.access(my_fn + str(my_num), os.F_OK):
40
		while os.access(os.path.join(destdir, my_fn + str(my_num)), os.F_OK):
41
			my_num += 1
41
			my_num += 1
42
42
43
		return my_fn + str(my_num)
43
		return my_fn + str(my_num)

Return to bug 199868