From 95d5b8747b7ba317f59fb69b0dee5dd42ab417e6 Mon Sep 17 00:00:00 2001 From: Eric Blake Date: Mon, 26 Apr 2010 09:44:42 -0600 Subject: [PATCH] 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 --- ChangeLog | 7 +++++++ build-aux/git-version-gen | 5 +++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 94f0e576c..d09e5e02e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2010-04-26 Eric Blake + + 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 netdb: Add support for GNULIB_POSIXCHECK. diff --git a/build-aux/git-version-gen b/build-aux/git-version-gen index e754c77d6..be85b6d88 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-02-24.17; # UTC +scriptversion=2010-04-26.15; # UTC # Copyright (C) 2007-2010 Free Software Foundation, Inc. # @@ -140,7 +140,8 @@ case "$dirty" in 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) -- 2.11.0