1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-04-30 03:40:34 +02:00

Init shell var properly in git-version-gen.

* build-aux/git-version-gen: Ensure shell var
is not influenced by an env var of the same name.
This commit is contained in:
Thien-Thi Nguyen 2010-06-14 21:57:01 +02:00 committed by Andy Wingo
parent cd53bd3668
commit 0977e175c9

View file

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