On platforms with CRLF endings (such as OS/2), use of 'echo' may
leave behind an unwanted CR.
* build-aux/git-version-gen: Use printf instead of echo and tr.
Signed-off-by: Eric Blake <eblake@redhat.com>
2014-12-02 KO Myung-Hun <komh78@gmail.com>
+ git-version-gen: do not print new line characters
+ * build-aux/git-version-gen: Use printf instead of echo and tr.
+
gnulib-tool: recognize x:* as an absolute path
* gnulib-tool (func_gnulib_dir): Add ?:* case.
(func_relconcat): Likewise.
#!/bin/sh
# Print a version string.
-scriptversion=2014-06-19.19; # UTC
+scriptversion=2014-12-02.19; # UTC
# Copyright (C) 2007-2014 Free Software Foundation, Inc.
#
fi
# Omit the trailing newline, so that m4_esyscmd can use the result directly.
-echo "$v" | tr -d "$nl"
+printf %s "$v"
# Local variables:
# eval: (add-hook 'write-file-hooks 'time-stamp)