Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 509328 Details for
Bug 640658
portage: Prefixify shebangs of init scripts
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
prefix-initd-shebang.patch
prefix-initd-shebang.patch (text/plain), 667 bytes, created by
Benda Xu
on 2017-12-11 08:54:49 UTC
(
hide
)
Description:
prefix-initd-shebang.patch
Filename:
MIME Type:
Creator:
Benda Xu
Created:
2017-12-11 08:54:49 UTC
Size:
667 bytes
patch
obsolete
>diff --git a/bin/install-qa-check.d/05prefix b/bin/install-qa-check.d/05prefix >index e1fc2bd99..32561e263 100644 >--- a/bin/install-qa-check.d/05prefix >+++ b/bin/install-qa-check.d/05prefix >@@ -76,8 +76,9 @@ install_qa_check_prefix() { > fi > continue > fi >- # unprefixed shebang, is the script directly in $PATH? >- if [[ ":${PATH}:" == *":${fp}:"* ]] ; then >+ # unprefixed shebang, is the script directly in $PATH or an init >+ # script? >+ if [[ ":${PATH}:${EPREFIX}/etc/init.d:" == *":${fp}:"* ]] ; then > if [[ -e ${EROOT}${line[0]} || -e ${ED}${line[0]} ]] ; then > # is it unprefixed, but we can just fix it because a > # prefixed variant exists
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 640658
: 509328