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

Collapse All | Expand All

(-)eclass/linux-info.eclass.orig (-5 / +9 lines)
Lines 408-418 Link Here
408
# - make is not present
408
# - make is not present
409
# - corruption exists in the kernel makefile
409
# - corruption exists in the kernel makefile
410
get_makefile_extract_function() {
410
get_makefile_extract_function() {
411
	local a='' b='' mkfunc='getfilevar'
411
	if [[ "${EBUILD_PHASE}" == "pretend" ]]; then
412
	a="$(getfilevar VERSION ${KERNEL_MAKEFILE})"
412
		echo 'getfilevar_noexec'
413
	b="$(getfilevar_noexec VERSION ${KERNEL_MAKEFILE})"
413
	else
414
	[[ "${a}" != "${b}" ]] && mkfunc='getfilevar_noexec'
414
		local a='' b='' mkfunc='getfilevar'
415
	echo "${mkfunc}"
415
		a="$(getfilevar VERSION ${KERNEL_MAKEFILE})"
416
		b="$(getfilevar_noexec VERSION ${KERNEL_MAKEFILE})"
417
		[[ "${a}" != "${b}" ]] && mkfunc='getfilevar_noexec'
418
		echo "${mkfunc}"
419
	fi
416
}
420
}
417
421
418
# internal variable, so we know to only print the warning once
422
# internal variable, so we know to only print the warning once

Return to bug 469210