[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Enabling uupdate to simply remove files from upstream source (Was: Minified javascript files)

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.

Have a nice Sunday,

Charles Plessy
Tsurumi, Kanagawa, Japan

Reply to: