Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 210708 - eutils.eclass: add functions to remove cvs/svn cruft
Summary: eutils.eclass: add functions to remove cvs/svn cruft
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-19 15:15 UTC by Benedikt Böhm (RETIRED)
Modified: 2008-02-20 12:36 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
clean helpers (ecvs_clean.patch,1.07 KB, patch)
2008-02-19 15:16 UTC, Benedikt Böhm (RETIRED)
Details | Diff
clean helpers (ecvs_clean.patch,1.13 KB, patch)
2008-02-19 15:17 UTC, Benedikt Böhm (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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