mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
bzr-version-gen: consider only the last tag.
This commit is contained in:
parent
02e316f986
commit
5eb9c28b31
@ -1,3 +1,7 @@
|
||||
2011-08-11 Giuseppe Scrivano <gscrivano@gnu.org>
|
||||
|
||||
* build-aux/bzr-version-gen (TAG): Consider only the last tag.
|
||||
|
||||
2011-08-10 Giuseppe Scrivano <gscrivano@gnu.org>
|
||||
|
||||
* configure.ac: Print usage string for --with-ssl.
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
scriptversion=2011-08-09.13; # UTC
|
||||
scriptversion=2011-08-11.08; # UTC
|
||||
|
||||
# Copyright (C) 2010, 2011 Free Software Foundation, Inc.
|
||||
|
||||
@ -37,7 +37,7 @@ REVNO=`bzr revno`
|
||||
TAG=`bzr tags -r $REVNO | cut -d' ' -f1`
|
||||
if test -z "$TAG"
|
||||
then
|
||||
TAG=`bzr tags -r ..$REVNO | cut -d' ' -f1`
|
||||
TAG=`bzr tags --sort=time -r ..$REVNO | tail -n1 | cut -d' ' -f1`
|
||||
|
||||
# No tags yet
|
||||
test -z "$TAG" && TAG="unknown"
|
||||
|
Loading…
Reference in New Issue
Block a user