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:
parent
cd53bd3668
commit
0977e175c9
1 changed files with 4 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# Print a version string.
|
# Print a version string.
|
||||||
scriptversion=2010-05-28.15; # UTC
|
scriptversion=2010-06-14.19; # UTC
|
||||||
|
|
||||||
# Copyright (C) 2007-2010 Free Software Foundation, Inc.
|
# Copyright (C) 2007-2010 Free Software Foundation, Inc.
|
||||||
#
|
#
|
||||||
|
@ -78,6 +78,9 @@ tag_sed_script="${2:-s/x/x/}"
|
||||||
nl='
|
nl='
|
||||||
'
|
'
|
||||||
|
|
||||||
|
# Avoid meddling by environment variable of the same name.
|
||||||
|
v=
|
||||||
|
|
||||||
# First see if there is a tarball-only version file.
|
# First see if there is a tarball-only version file.
|
||||||
# then try "git describe", then default.
|
# then try "git describe", then default.
|
||||||
if test -f $tarball_version_file
|
if test -f $tarball_version_file
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue