Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 143885 Details for
Bug 210575
doins -r is painfully slow
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to remove recursive doins call
doins.diff (text/plain), 990 bytes, created by
Benedikt Böhm (RETIRED)
on 2008-02-18 16:31:09 UTC
(
hide
)
Description:
patch to remove recursive doins call
Filename:
MIME Type:
Creator:
Benedikt Böhm (RETIRED)
Created:
2008-02-18 16:31:09 UTC
Size:
990 bytes
patch
obsolete
>--- doins.orig 2008-02-18 16:28:27.610453995 +0000 >+++ doins 2008-02-18 16:27:15.880396865 +0000 >@@ -33,23 +33,28 @@ > [[ ! -d ${D}${INSDESTTREE} ]] && dodir "${INSDESTTREE}" > > for x in "$@" ; do >- if [ -L "$x" ] ; then >- cp "$x" "${T}" >- mysrc="${T}/$(/usr/bin/basename "${x}")" >- elif [ -d "$x" ] ; then >+ if [ -d "$x" ] ; then > if [ "${DOINSRECUR}" == "n" ] ; then > continue > fi > >- mydir="${INSDESTTREE}/$(basename "${x}")" >- find "${x}" -mindepth 1 -maxdepth 1 -exec \ >- env \ >- INSDESTTREE="${mydir}" \ >- INSDEPTH=$((INSDEPTH+1)) \ >- doins -r {} \; >+ pushd "${x}" >/dev/null >+ find -type d -exec dodir "${INSDESTTREE}/{}" \; >+ for f in $(find -type f); do >+ install ${INSOPTIONS} "${f}" \ >+ "${D}${INSDESTTREE}/$(dirname ${f})" >+ done >+ popd >/dev/null >+ > continue >+ fi >+ >+ if [ -L "$x" ] ; then >+ cp "$x" "${T}" >+ mysrc="${T}/$(/usr/bin/basename "${x}")" > else > mysrc="${x}" > fi >+ > install ${INSOPTIONS} "${mysrc}" "${D}${INSDESTTREE}" > done
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 210575
:
143885
|
143938