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

Collapse All | Expand All

(-)bin/ebuild.sh (+5 lines)
Lines 482-487 Link Here
482
482
483
	: ${ECONF_SOURCE:=.}
483
	: ${ECONF_SOURCE:=.}
484
	if [ -x "${ECONF_SOURCE}/configure" ]; then
484
	if [ -x "${ECONF_SOURCE}/configure" ]; then
485
		if [[ -n $CONFIG_SHELL && \
486
			"$(head -n1 "$ECONF_SOURCE/configure")" =~ ^'#!'/bin/sh ]] ; then
487
			sed -e "1s:.*:#!$CONFIG_SHELL" -i "$ECONF_SOURCE/configure" || \
488
				die "Substition of shebang in '$ECONF_SOURCE/configure' failed"
489
		fi
485
		if [ -e /usr/share/gnuconfig/ ]; then
490
		if [ -e /usr/share/gnuconfig/ ]; then
486
			find "${WORKDIR}" -type f '(' \
491
			find "${WORKDIR}" -type f '(' \
487
			-name config.guess -o -name config.sub ')' -print0 | \
492
			-name config.guess -o -name config.sub ')' -print0 | \

Return to bug 308835