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

Collapse All | Expand All

(-)pym/portage/dbapi/vartree.py (-2 / +3 lines)
Lines 2068-2075 Link Here
2068
				os.symlink(linktarget, os.path.join(srcroot, x.lstrip(os.sep)))
2068
				os.symlink(linktarget, os.path.join(srcroot, x.lstrip(os.sep)))
2069
				if linktarget[0] != os.sep:
2069
				if linktarget[0] != os.sep:
2070
					linktarget = os.path.join(os.path.dirname(x), linktarget)
2070
					linktarget = os.path.join(os.path.dirname(x), linktarget)
2071
				candidates.add(linktarget)
2071
				if linktarget not in candidates:
2072
				candidates_stack.append(linktarget)
2072
					candidates.add(linktarget)
2073
					candidates_stack.append(linktarget)
2073
			else:
2074
			else:
2074
				shutil.copy2(os.path.join(destroot, x.lstrip(os.sep)),
2075
				shutil.copy2(os.path.join(destroot, x.lstrip(os.sep)),
2075
					os.path.join(srcroot, x.lstrip(os.sep)))
2076
					os.path.join(srcroot, x.lstrip(os.sep)))

Return to bug 228977