Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 223237 Details for
Bug 308835
econf() should run ./configure via $CONFIG_SHELL if set
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
use sed to substitute $CONFIG_SHELL in the shebang
config_shell.patch (text/plain), 630 bytes, created by
Zac Medico
on 2010-03-12 00:06:35 UTC
(
hide
)
Description:
use sed to substitute $CONFIG_SHELL in the shebang
Filename:
MIME Type:
Creator:
Zac Medico
Created:
2010-03-12 00:06:35 UTC
Size:
630 bytes
patch
obsolete
>Index: bin/ebuild.sh >=================================================================== >--- bin/ebuild.sh (revision 15820) >+++ bin/ebuild.sh (working copy) >@@ -482,6 +482,11 @@ > > : ${ECONF_SOURCE:=.} > if [ -x "${ECONF_SOURCE}/configure" ]; then >+ if [[ -n $CONFIG_SHELL && \ >+ "$(head -n1 "$ECONF_SOURCE/configure")" =~ ^'#!'/bin/sh ]] ; then >+ sed -e "1s:.*:#!$CONFIG_SHELL" -i "$ECONF_SOURCE/configure" || \ >+ die "Substition of shebang in '$ECONF_SOURCE/configure' failed" >+ fi > if [ -e /usr/share/gnuconfig/ ]; then > find "${WORKDIR}" -type f '(' \ > -name config.guess -o -name config.sub ')' -print0 | \
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 308835
:
222987
|
223057
| 223237