Mercurial > hg > octave-lyh > gnulib-hg
changeset 16706:bd179cf2c9ea
git-version-gen: don't let "prefix" envvar cause trouble
* build-aux/git-version-gen (prefix): Initialize properly,
so as not to use a value specified via the environment.
Details here: http://thread.gmane.org/gmane.comp.gnu.parted.bugs/10810
author | Andreas Oberritter <obi@opendreambox.org> |
---|---|
date | Sun, 18 Mar 2012 18:39:14 +0100 |
parents | 54b750a813cb |
children | 47613935f655 |
files | ChangeLog build-aux/git-version-gen |
diffstat | 2 files changed, 10 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2012-03-18 Andreas Oberritter <obi@opendreambox.org> + + git-version-gen: don't let "prefix" envvar cause trouble + * build-aux/git-version-gen (prefix): Initialize properly, + so as not to use a value specified via the environment. + Details here: http://thread.gmane.org/gmane.comp.gnu.parted.bugs/10810 + 2012-03-16 Paul Eggert <eggert@cs.ucla.edu> regex: diagnose too-large repeat counts in EREs
--- a/build-aux/git-version-gen +++ b/build-aux/git-version-gen @@ -1,6 +1,6 @@ #!/bin/sh # Print a version string. -scriptversion=2012-01-06.07; # UTC +scriptversion=2012-03-18.17; # UTC # Copyright (C) 2007-2012 Free Software Foundation, Inc. # @@ -92,6 +92,8 @@ Running without arguments will suffice in most cases." +prefix=v + while test $# -gt 0; do case $1 in --help) echo "$usage"; exit 0;; @@ -120,7 +122,6 @@ fi tag_sed_script="${tag_sed_script:-s/x/x/}" -prefix="${prefix:-v}" nl=' '