On 12-08-19 at 08:32am, Charles Plessy wrote:
> Le Sun, Aug 19, 2012 at 12:44:44AM +0200, Jonas Smedegaard a écrit :
> > On 12-08-18 at 10:19pm, Andreas Tille wrote:
> > > 1. The new field Files-Excluded in debian/copyright contains
> > > a space separated list of regular expressions.
> > > The deletion process will loop over every expression
> > >
> > > rm -rf ${MAIN_SOURCE_DIR}/<expression>
> >
> > Copyright file format emplicitly emphasizes that the globbing is not
> > shell style but find style.
> >
> > I believe it is better to loop over either of these expressions:
> >
> > find ${MAIN_SOURCE_DIR}/* -path <expression> -delete
> >
> > find ${MAIN_SOURCE_DIR}/* type f -name <expression> -delete
>
> Hi all,
>
> it looks like it is necessary to add './' before the expression if
> (and only if) the expression does not contain it.
Isn't that covered by the inverse above - trailing /* to base path?
- Jonas
--
* Jonas Smedegaard - idealist & Internet-arkitekt
* Tlf.: +45 40843136 Website: http://dr.jones.dk/
[x] quote me freely [ ] ask before reusing [ ] keep private
Attachment:
signature.asc
Description: Digital signature