logo       

Bug#498057: devscripts: [uscan] Exit status is always zero, contradicting t: msg#00026

linux.debian.devel.devscripts

Subject: Bug#498057: devscripts: [uscan] Exit status is always zero, contradicting the manpage

On Sat, 2008-09-06 at 20:13 +0200, Thomas Weber wrote:
> Package: devscripts
> Version: 2.10.35
> Severity: normal
>
> I give all options I'm using, in case it matters:
> ================================================================================
> $ uscan --no-conf --download --no-symlink --upstream-version=3.0.1
> --watchfile=/tmp/watchfile --package=octave

The options do indeed matter - the exit status is correct if you let
uscan search for debian/watch rather than specifying the watchfile
yourself.

> I attach a patch that fixes this thing for me, but you'd better check
> this carefully. Watchfile attached.

Thanks for the patch, it was nearly perfect :) It should be "exit
($found ? 0 : 1);" as $found contains the number of new upstream
versions found, which can be more than one.

Adam






<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise