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

Collapse All | Expand All

(-)a/pym/_emerge/MiscFunctionsProcess.py (-2 / +6 lines)
Lines 20-27 class MiscFunctionsProcess(AbstractEbuildProcess): Link Here
20
		portage_bin_path = settings["PORTAGE_BIN_PATH"]
20
		portage_bin_path = settings["PORTAGE_BIN_PATH"]
21
		misc_sh_binary = os.path.join(portage_bin_path,
21
		misc_sh_binary = os.path.join(portage_bin_path,
22
			os.path.basename(portage.const.MISC_SH_BINARY))
22
			os.path.basename(portage.const.MISC_SH_BINARY))
23
		fr_args = ""
24
		if "fakeroot" in settings.features:
25
			fr_args = "-i ${T}/fakeroot.state -s ${T}/fakeroot.state -- "
26
			fr_args += misc_sh_binary
27
			misc_sh_binary = portage.const.FAKEROOT_BINARY
23
28
24
		self.args = [portage._shell_quote(misc_sh_binary)] + self.commands
29
		self.args = [portage._shell_quote(misc_sh_binary)] + [fr_args] + self.commands
25
		if self.logfile is None and \
30
		if self.logfile is None and \
26
			self.settings.get("PORTAGE_BACKGROUND") != "subprocess":
31
			self.settings.get("PORTAGE_BACKGROUND") != "subprocess":
27
			self.logfile = settings.get("PORTAGE_LOG_FILE")
32
			self.logfile = settings.get("PORTAGE_LOG_FILE")
28
- 

Return to bug 489016