From: Thien-Thi Nguyen <ttn@gnuvola.org>
Date: Mon, 14 Jun 2010 20:25:42 +0000 (+0200)
Subject: git-version-gen: init shell var to avoid env var influence
X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e0fcde8130473202a4dd37c41a3c331fc5a9907d;p=pspp

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>
---

diff --git a/ChangeLog b/ChangeLog
index 7cfad41f28..4ad700df5d 100644
--- 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.
diff --git a/build-aux/git-version-gen b/build-aux/git-version-gen
index 9b821e0439..5617eb8d4e 100755
--- 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 @@ 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