On Thu, May 14, 2009, Mehdi Dogguy wrote: > On 0, Mehdi Dogguy <dog...@pps.jussieu.fr> wrote: > > + local PKG_VERSION="$(head -n1 debian/changelog | sed -n's/.\+(\([^ > > ]\+\)).\+/\1/p')" || "0.invalid.0" > Oups… I forgot this stupid line. > Something like “local PKG_VERSION="$(head -n1 debian/changelog | sed > -n's/.\+(\([^ ]\+\)).\+/\1/p')" ” should be enough. > > It's not the best way to catch last version of the package but I > failed to find a simpler way.
dpkg-parsechangelog -- Loïc Minier -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org