On Sat, Sep 06, 2008 at 07:59:24PM +0100, Adam D. Barratt wrote:
> 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.

Well, I want to (ab)use uscan for non-Debian stuff, so there's no
debian/ directory.
 
> > 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.

Sorry about that, but I found uscan's exit points to be non-trivial :)

        Thomas




-- 
To unsubscribe, send mail to [EMAIL PROTECTED]

Reply via email to