[Build-common-hackers] Bug#625442: Bug#625442: Bug#625442: cdbs: licensecheck -i (ignore) option overrides default

Olivier Aubert olivier.aubert at liris.cnrs.fr
Tue May 3 15:30:01 UTC 2011


On Tue, 2011-05-03 at 17:16 +0200, Jonas Smedegaard wrote:
> On 11-05-03 at 04:15pm, Olivier Aubert wrote:
> > However, the described behaviour does not happen when invoked by CDBS. 
> > I saw it happen since I had to copy/paste the command line to run it 
> > (because of #625448):
> > 
> > licensecheck -c '.*' -r --copyright -i '^debian/(changelog|copyright(|_hints|_newhints))' -l '99999' * | /usr/lib/cdbs/licensecheck2dep5 
> > 
> > I do not quite know why it does not happen when invoked through CDBS 
> > (it is run from the same directory).
> 
> The asterisk after '99999' should expand to all files or folders except 
> those with a leading dot.  Do you perhaps use a non-POSIX shell, or 
> invoke outside of the package dir?
Indeed, I use zsh, and it is configured to display hidden files. I
overlooked that. Well, I think it solves the issue, but this relies on
non-explicit behaviour. It will work for common git or subversion, but
imagine if someone is crazy enough to maintain packages with darcs (that
uses _darcs repository) or monotone (_MTN)...

Thanks for helping with this issue.
Olivier






More information about the Build-common-hackers mailing list