Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 255927 Details for
Bug 347213
[patch] sys-kernel/genkernel-3.4.10.907 rm: cannot remove `/var/cache/genkernel/src': Is a directory
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Check if is a directory and remove it with rm -rf.
genkernel_clean_cache.patch (text/plain), 369 bytes, created by
Sergey Vishnikin
on 2010-11-30 09:20:42 UTC
(
hide
)
Description:
Check if is a directory and remove it with rm -rf.
Filename:
MIME Type:
Creator:
Sergey Vishnikin
Created:
2010-11-30 09:20:42 UTC
Size:
369 bytes
patch
obsolete
>--- gen_funcs.sh 2009-12-17 07:21:37.000000000 +0300 >+++ gen_funcs2.sh 2010-11-30 12:12:58.000000000 +0300 >@@ -254,8 +254,14 @@ > > for i in ${CACHE_DIR_CONTENTS} > do >+ if [ -d ${CACHE_DIR}/${i} ] >+ then >+ print_info 1 " >> removing dir ${i}" >+ rm -rf ${CACHE_DIR}/${i} >+ else > print_info 1 " >> removing ${i}" > rm ${CACHE_DIR}/${i} >+ fi > done > fi >
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 347213
:
255927
|
259533