Mercurial > hg > octave-shane > gnulib-hg
changeset 13272:c9ecff74d08f
git-version-gen: allow use on EBCDIC hosts
* build-aux/git-version-gen (dirty): Use literal rather than tying
ourselves to ascii.
Reported by Steve Goetze.
Signed-off-by: Eric Blake <eblake@redhat.com>
author | Eric Blake <eblake@redhat.com> |
---|---|
date | Mon, 26 Apr 2010 09:44:42 -0600 |
parents | b18fb24cf606 |
children | 27dad1e1ab9b |
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 @@ +2010-04-26 Eric Blake <eblake@redhat.com> + + git-version-gen: allow use on EBCDIC hosts + * build-aux/git-version-gen (dirty): Use literal rather than tying + ourselves to ascii. + Reported by Steve Goetze. + 2010-04-25 Bruno Haible <bruno@clisp.org> netdb: Add support for GNULIB_POSIXCHECK.
--- a/build-aux/git-version-gen +++ b/build-aux/git-version-gen @@ -1,6 +1,6 @@ #!/bin/sh # Print a version string. -scriptversion=2010-02-24.17; # UTC +scriptversion=2010-04-26.15; # UTC # Copyright (C) 2007-2010 Free Software Foundation, Inc. # @@ -140,7 +140,8 @@ esac # Omit the trailing newline, so that m4_esyscmd can use the result directly. -echo "$v" | tr -d '\012' +echo "$v" | tr -d ' +' # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp)