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

Collapse All | Expand All

(-)portage-2.0.51_pre12-orig/pym/portage.py (-1 / +3 lines)
Lines 1616-1621 Link Here
1616
		if os.path.exists(infodir):
1616
		if os.path.exists(infodir):
1617
			if os.path.exists(infodir+"/environment"):
1617
			if os.path.exists(infodir+"/environment"):
1618
				self.configdict["pkg"]["PORT_ENV_FILE"] = infodir+"/environment"
1618
				self.configdict["pkg"]["PORT_ENV_FILE"] = infodir+"/environment"
1619
			if os.path.exists(infodir+"/environment.bz2"):
1620
				self.configdict["pkg"]["PORT_ENV_FILE"] = infodir+"/environment.bz2"
1619
1621
1620
			myre = re.compile('^[A-Z]+$')
1622
			myre = re.compile('^[A-Z]+$')
1621
			for filename in listdir(infodir,filesonly=1,EmptyOnError=1):
1623
			for filename in listdir(infodir,filesonly=1,EmptyOnError=1):
Lines 2528-2534 Link Here
2528
	if mydo not in ["fetch","digest","manifest"]:
2530
	if mydo not in ["fetch","digest","manifest"]:
2529
		# Should be ok again to set $T, as sandbox does not depend on it
2531
		# Should be ok again to set $T, as sandbox does not depend on it
2530
		mysettings["T"]=mysettings["BUILDDIR"]+"/temp"
2532
		mysettings["T"]=mysettings["BUILDDIR"]+"/temp"
2531
		if cleanup or mydo=="setup":
2533
		if cleanup or mydo=="clean":
2532
			if os.path.exists(mysettings["T"]):
2534
			if os.path.exists(mysettings["T"]):
2533
				shutil.rmtree(mysettings["T"])
2535
				shutil.rmtree(mysettings["T"])
2534
		if not os.path.exists(mysettings["T"]):
2536
		if not os.path.exists(mysettings["T"]):

Return to bug 56408