Mercurial > gnulib
diff build-aux/git-version-gen @ 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 | d62002e5d9f4 |
children | ffc169da68eb 41be2f78c573 |
line wrap: on
line diff
--- a/build-aux/git-version-gen Mon Jun 14 12:20:22 2010 -0700 +++ b/build-aux/git-version-gen Mon Jun 14 22:25:42 2010 +0200 @@ -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