Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 348904 Details for
Bug 470992
bootstrap hang on linux-headers while in script unprivileged/chown
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
chown-patch
chown.diff (text/plain), 1.32 KB, created by
Mario Ackerl
on 2013-05-22 11:36:24 UTC
(
hide
)
Description:
chown-patch
Filename:
MIME Type:
Creator:
Mario Ackerl
Created:
2013-05-22 11:36:24 UTC
Size:
1.32 KB
patch
obsolete
>--- chown.orig 2013-05-22 13:07:26.609145740 +0200 >+++ chown 2013-05-22 13:31:52.379131761 +0200 >@@ -7,24 +7,27 @@ > > IFS=':' > >+outputfile=/tmp/chownOut > for path in ${PATH}; do > [[ -x ${path}/${scriptname} ]] || continue > [[ ${path}/${scriptname} -ef ${scriptpath} ]] && continue > IFS=$' \t\n' >- output=$("${path}/${scriptname}" "$@" 2>&1) >- if [[ $? -ne 0 ]] ; then >- source "${PORTAGE_BIN_PATH:-/big/local/gentoo-prefix/usr/lib/portage/bin}"/isolated-functions.sh >+ "${path}/${scriptname}" "$@" 2>&1 > ${outputfile} >+ if [ -f ${outputfile} ] ; then >+ source "${PORTAGE_BIN_PATH:-/big/local/gentoo-prefix2/usr/lib/portage/bin}"/isolated-functions.sh > > if ! ___eapi_has_prefix_variables; then > EPREFIX= > fi >- msg="${scriptname} failure ignored with unprivileged user:\n ${scriptname} $*\n ${output}" > # Reverse expansion of ${D} and ${EPREFIX}, for readability. >- msg=${msg//${D}/'${D}'} >+ sed -i "s/${D}/'${D}'/g" ${outputfile} > if [[ -n ${EPREFIX} ]] ; then >- msg=${msg//${EPREFIX}/'${EPREFIX}'} >- msg=${msg//${EPREFIX#/}/'${EPREFIX}'} >+ sed -i "s/${EPREFIX}/'${EPREFIX}'/g" ${outputfile} >+ sed -i "s/${EPREFIX#/}/'${EPREFIX}'/g" ${outputfile} > fi >+ >+ output=$(<${outputfile}) >+ msg="${scriptname} failure ignored with unprivileged user:\n ${scriptname} $*\n ${output}" > ewarn "${msg}" > fi > exit 0
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 470992
: 348904 |
358352