From e0fcde8130473202a4dd37c41a3c331fc5a9907d Mon Sep 17 00:00:00 2001 From: Thien-Thi Nguyen Date: Mon, 14 Jun 2010 22:25:42 +0200 Subject: [PATCH] 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 --- ChangeLog | 5 +++++ build-aux/git-version-gen | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 7cfad41f28..4ad700df5d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2010-06-14 Thien-Thi Nguyen (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 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 -- 2.30.2