summaryrefslogtreecommitdiff
path: root/build-aux
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2010-04-26 09:44:42 -0600
committerEric Blake <eblake@redhat.com>2010-04-26 09:46:01 -0600
commit95d5b8747b7ba317f59fb69b0dee5dd42ab417e6 (patch)
tree2efb9bdfe0aa43c44c2ab0484b6b3a09cbc2ae65 /build-aux
parentad8f11251eeef41965bd7a358516325238117971 (diff)
downloadgnulib-95d5b8747b7ba317f59fb69b0dee5dd42ab417e6.tar.gz
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>
Diffstat (limited to 'build-aux')
-rwxr-xr-xbuild-aux/git-version-gen5
1 files changed, 3 insertions, 2 deletions
diff --git a/build-aux/git-version-gen b/build-aux/git-version-gen
index e754c77d6a..be85b6d88a 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)