Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 210708

Summary: eutils.eclass: add functions to remove cvs/svn cruft
Product: Gentoo Linux Reporter: Benedikt Böhm (RETIRED) <hollow>
Component: EclassesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: enhancement CC: jakub
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: clean helpers
clean helpers

Description Benedikt Böhm (RETIRED) gentoo-dev 2008-02-19 15:15:41 UTC
there are quite a lot of ebuilds that need to remove CVS or .svn folders, so i wrote these little helpers for eutils.eclass
Comment 1 Benedikt Böhm (RETIRED) gentoo-dev 2008-02-19 15:16:04 UTC
Created attachment 143976 [details, diff]
clean helpers
Comment 2 Benedikt Böhm (RETIRED) gentoo-dev 2008-02-19 15:17:30 UTC
Created attachment 143978 [details, diff]
clean helpers

this time with default dir = .
Comment 3 SpanKY gentoo-dev 2008-02-19 16:51:22 UTC
why dont you just use one liners ?

find "$@" -type d -name .svn -print0 | xargs -0 rm -rf
Comment 4 Benedikt Böhm (RETIRED) gentoo-dev 2008-02-20 12:36:35 UTC
i have committed the one-liners, thanks