git-version-gen: init shell var to avoid env var influence
authorThien-Thi Nguyen <ttn@gnuvola.org>
Mon, 14 Jun 2010 20:25:42 +0000 (22:25 +0200)
committerEric Blake <eblake@redhat.com>
Mon, 14 Jun 2010 20:36:01 +0000 (14:36 -0600)
* build-aux/git-version-gen (v): Init shell var to empty.

Signed-off-by: Eric Blake <eblake@redhat.com>
ChangeLog
build-aux/git-version-gen

index 7cfad41..4ad700d 100644 (file)
--- 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.
index 9b821e0..5617eb8 100755 (executable)
@@ -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 @@ tag_sed_script="${2:-s/x/x/}"
 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