On Mon, 23 Jan 2012 22:45:25 +0100 Benjamin Drung <bdr...@debian.org> wrote:
> Am Donnerstag, den 13.10.2011, 11:10 +0200 schrieb Antonio Ospite: > > Maybe distro-utils can provide such functionality: > > > > $ distro-info --alias sid > > unstable > > > > $ distro-info --alias squeeze > > testing > > > > $ distro-info --alias natty > > natty > > > > This could also be used to play with debian/changelog when building for > > distributions different from 'unstable', AFAIR debian/changelog expects the > > alias (stable, unstable) in the distribution field, not the codename. > > > > What do you think about that? > > This feature would be useful. The retrieval of the alias in my > pbuilderrc file is done by: > > case "$DIST" in > $(debian-distro-info -d)) > DIST="unstable" > ;; > $(debian-distro-info -t)) > DIST="testing" > ;; > $(debian-distro-info -s)) > DIST="stable" > ;; > esac > That's another thing I was thinking to when I proposed it, but I didn't have an actual example to show :) Thanks, Antonio -- Antonio Ospite http://ao2.it A: Because it messes up the order in which people normally read text. See http://en.wikipedia.org/wiki/Posting_style Q: Why is top-posting such a bad thing?
pgpB3bSrB7Gs7.pgp
Description: PGP signature