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 -- To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20120818233239.gc20...@falafel.plessy.net