Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 103526 Details for
Bug 157369
ebuild (1) doesn't fully clean the temp directories after the .ebuild file is touched
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
run dyn_clean instead of just `rm -rf $WORKDIR`, but respect FEATURES=keepwork
really_clean.patch (text/plain), 1001 bytes, created by
Zac Medico
on 2006-12-07 02:14:52 UTC
(
hide
)
Description:
run dyn_clean instead of just `rm -rf $WORKDIR`, but respect FEATURES=keepwork
Filename:
MIME Type:
Creator:
Zac Medico
Created:
2006-12-07 02:14:52 UTC
Size:
1001 bytes
patch
obsolete
>Index: bin/ebuild.sh >=================================================================== >--- bin/ebuild.sh (revision 5202) >+++ bin/ebuild.sh (working copy) >@@ -683,10 +683,11 @@ > break > fi > done >- if [ "${EBUILD}" -nt "${WORKDIR}" ]; then >+ if [ "${EBUILD}" -nt "${WORKDIR}" ] && \ >+ ! hasq keepwork ${FEATURES} ; then > vecho ">>> ${EBUILD} has been updated; recreating WORKDIR..." > newstuff="yes" >- rm -rf "${WORKDIR}" >+ dyn_clean keep_distdir > elif [ ! -f "${PORTAGE_BUILDDIR}/.unpacked" ]; then > vecho ">>> Not marked as unpacked; recreating WORKDIR..." > newstuff="yes" >@@ -752,7 +753,7 @@ > > # do not bind this to doebuild defined DISTDIR; don't trust doebuild, and if mistakes are made it'll > # result in it wiping the users distfiles directory (bad). >- rm -rf "${PORTAGE_BUILDDIR}/distdir" >+ ! hasq keep_distdir $* && rm -rf "${PORTAGE_BUILDDIR}/distdir" > > if [ -z "$(find "${PORTAGE_BUILDDIR}" -mindepth 1 -maxdepth 1)" ]; then > rmdir "${PORTAGE_BUILDDIR}"
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 157369
:
103526
|
103603