Bug#798175: uupdate: fails if upstream version is 0

2015-09-07 Thread Osamu Aoki
On Sun, Sep 06, 2015 at 02:13:09PM -0400, James McCoy wrote: > On Sun, Sep 06, 2015 at 08:34:12PM +0900, Osamu Aoki wrote: > > So we should ignore return code with > > || true > > That's not necessary, since we aren't using the return value for > anything. Yes with #!/bin/bash . I was wonderin

Bug#798175: uupdate: fails if upstream version is 0

2015-09-06 Thread James McCoy
On Sun, Sep 06, 2015 at 08:34:12PM +0900, Osamu Aoki wrote: > uupdate has a bit cryptic shell contruct: > > | UVERSION=`expr "$SVERSION" : '\(.*\)-[0-9a-zA-Z.+~]*$'` || > | { > | echo "$PROGNAME: a native Debian package cannot take upstream updates" > >&2 > | exit 1 > | } > > It looks li

Bug#798175: uupdate: fails if upstream version is 0

2015-09-06 Thread Osamu Aoki
Package: devscripts Version: 2.15.8 Severity: normal Tags: patch uupdate has a bit cryptic shell contruct: | UVERSION=`expr "$SVERSION" : '\(.*\)-[0-9a-zA-Z.+~]*$'` || | { | echo "$PROGNAME: a native Debian package cannot take upstream updates" >&2 | exit 1 | } It looks like some expert