Skip to content

Commit 6363074

Browse files
committed
Update auxiliary maintainer mode build tools
* git-set-file-times: Update from rsync. * git-version-gen: Update from gnulib. * gitlog-to-changelog: Likewise.
1 parent 174583d commit 6363074

File tree

3 files changed

+254
-28
lines changed

3 files changed

+254
-28
lines changed

git-set-file-times

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
#!/usr/bin/perl -w
1+
#!/usr/bin/perl
22
use strict;
3+
use warnings;
34

45
# Sets mtime and atime of files to the latest commit time in git.
56
#

git-version-gen

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#!/bin/sh
22
# Print a version string.
3-
scriptversion=2012-12-31.23; # UTC
3+
scriptversion=2014-12-02.19; # UTC
44

5-
# Copyright (C) 2007-2013 Free Software Foundation, Inc.
5+
# Copyright (C) 2007-2014 Free Software Foundation, Inc.
66
#
77
# This program is free software: you can redistribute it and/or modify
88
# it under the terms of the GNU General Public License as published by
@@ -85,8 +85,9 @@ Print a version string.
8585
8686
Options:
8787
88-
--prefix prefix of git tags (default 'v')
89-
--fallback fallback version to use if \"git --version\" fails
88+
--prefix PREFIX prefix of git tags (default 'v')
89+
--fallback VERSION
90+
fallback version to use if \"git --version\" fails
9091
9192
--help display this help and exit
9293
--version output version information and exit
@@ -214,7 +215,7 @@ if test "x$v_from_git" != x; then
214215
fi
215216

216217
# Omit the trailing newline, so that m4_esyscmd can use the result directly.
217-
echo "$v" | tr -d "$nl"
218+
printf %s "$v"
218219

219220
# Local variables:
220221
# eval: (add-hook 'write-file-hooks 'time-stamp)

0 commit comments

Comments
 (0)