Mercurial > hg > octave-kai > gnulib-hg
changeset 13423:ba0385f65ed2
git-version-gen: init shell var to avoid env var influence
* build-aux/git-version-gen (v): Init shell var to empty.
Signed-off-by: Eric Blake <eblake@redhat.com>
author | Thien-Thi Nguyen <ttn@gnuvola.org> |
---|---|
date | Mon, 14 Jun 2010 22:25:42 +0200 |
parents | e81addc3d284 |
children | 4fc9e7002b1b |
files | ChangeLog build-aux/git-version-gen |
diffstat | 2 files changed, 9 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2010-06-14 Thien-Thi Nguyen <ttn@gnuvola.org> (tiny change) + + git-version-gen: init shell var to avoid env var influence + * build-aux/git-version-gen (v): Init shell var to empty. + 2010-06-14 Paul Eggert <eggert@cs.ucla.edu> priv-set: Don't assume that priv.h exists merely because getppriv does.
--- a/build-aux/git-version-gen +++ b/build-aux/git-version-gen @@ -1,6 +1,6 @@ #!/bin/sh # Print a version string. -scriptversion=2010-05-28.15; # UTC +scriptversion=2010-06-14.19; # UTC # Copyright (C) 2007-2010 Free Software Foundation, Inc. # @@ -78,6 +78,9 @@ nl=' ' +# Avoid meddling by environment variable of the same name. +v= + # First see if there is a tarball-only version file. # then try "git describe", then default. if test -f $tarball_version_file