From 6e417accc9b6501a730eb21d796c5660647e8aa1 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 26 Apr 2010 18:59:46 +0200 Subject: [PATCH] git-version-gen: aesthetic tweak * build-aux/git-version-gen: Use "$nl" rather than a literal, so that the command remains on a single line. --- ChangeLog | 6 ++++++ build-aux/git-version-gen | 5 ++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index d09e5e02e..283d4c13e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2010-04-26 Jim Meyering + + git-version-gen: aesthetic tweak + * build-aux/git-version-gen: Use "$nl" rather than a literal, + so that the command remains on a single line. + 2010-04-26 Eric Blake git-version-gen: allow use on EBCDIC hosts diff --git a/build-aux/git-version-gen b/build-aux/git-version-gen index be85b6d88..5a7e98958 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-04-26.15; # UTC +scriptversion=2010-04-26.16; # UTC # Copyright (C) 2007-2010 Free Software Foundation, Inc. # @@ -140,8 +140,7 @@ case "$dirty" in esac # Omit the trailing newline, so that m4_esyscmd can use the result directly. -echo "$v" | tr -d ' -' +echo "$v" | tr -d "$nl" # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) -- 2.11.0