]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
setlocalversion: fix version for untaged nontip mercurial revs
authorMilton Miller <miltonm@bga.com>
Thu, 22 Jul 2010 15:19:38 +0000 (10:19 -0500)
committerMichal Marek <mmarek@suse.cz>
Thu, 12 Aug 2010 22:52:14 +0000 (00:52 +0200)
commit55c640c3abff301eed5ee11c34a40bfe043c8c2d
tree64f6ace6624494c2bdee3857dfc4cb6f40fe3d16
parent235caa235cb6f88fd04bc58a288f45463e5361c7
setlocalversion: fix version for untaged nontip mercurial revs

The manpage for cut says it will return all lines without the delimiter
unless -s is specified.

When I backed up my mecurial tree to generate modules, I found that the
scm part of localversion was turning up blank.

Signed-off-by: Milton Miller <miltonm@bga.com>
Cc: Michal Marek <mmarek@suse.cz>
Cc: "Michał Górny" <gentoo@mgorny.alt.pl>
Signed-off-by: Michal Marek <mmarek@suse.cz>
scripts/setlocalversion