Bug#528698: pbuilder: Name dummy package according to source package

Mehdi Dogguy Mehdi.Dogguy at pps.jussieu.fr
Thu May 14 19:24:42 UTC 2009


On  0, Mehdi Dogguy <dogguy at 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.

Cheers,

-- 
Mehdi Dogguy
http://www.pps.jussieu.fr/~dogguy/





More information about the Pbuilder-maint mailing list