[vala/staging] build: Update git-version-gen to latest upstream
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/staging] build: Update git-version-gen to latest upstream
- Date: Thu, 2 Dec 2021 08:11:52 +0000 (UTC)
commit f4862e9f27aa1dd1257ca40bb75d4d424d55390a
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Wed Dec 1 17:11:42 2021 +0100
build: Update git-version-gen to latest upstream
From commit 378351df7e63daca234c581f086b542026e07a27 of
https://git.savannah.gnu.org/cgit/autoconf.git/tree/build-aux/git-version-gen
build-aux/git-version-gen | 13 ++++++-------
1 file changed, 6 insertions(+), 7 deletions(-)
---
diff --git a/build-aux/git-version-gen b/build-aux/git-version-gen
index 0e254f4be..959f98893 100755
--- a/build-aux/git-version-gen
+++ b/build-aux/git-version-gen
@@ -1,8 +1,8 @@
#!/bin/sh
# Print a version string.
-scriptversion=2017-09-13.06; # UTC
+scriptversion=2019-10-13.15; # UTC
-# Copyright (C) 2007-2017 Free Software Foundation, Inc.
+# Copyright (C) 2007-2021 Free Software Foundation, Inc.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -72,9 +72,10 @@ scriptversion=2017-09-13.06; # UTC
me=$0
+year=`expr "$scriptversion" : '\([^-]*\)'`
version="git-version-gen $scriptversion
-Copyright 2011 Free Software Foundation, Inc.
+Copyright $year Free Software Foundation, Inc.
There is NO warranty. You may redistribute this software
under the terms of the GNU General Public License.
For more information about these matters, see the files named COPYING."
@@ -141,11 +142,9 @@ then
v=`cat $tarball_version_file` || v=
case $v in
*$nl*) v= ;; # reject multi-line output
- [0-9]*) ;;
- *) v= ;;
esac
test "x$v" = x \
- && echo "$0: WARNING: $tarball_version_file is missing or damaged" 1>&2
+ && echo "$0: WARNING: $tarball_version_file is damaged" 1>&2
fi
if test "x$v" != x
@@ -219,7 +218,7 @@ fi
printf %s "$v"
# Local variables:
-# eval: (add-hook 'write-file-hooks 'time-stamp)
+# eval: (add-hook 'before-save-hook 'time-stamp)
# time-stamp-start: "scriptversion="
# time-stamp-format: "%:y-%02m-%02d.%02H"
# time-stamp-time-zone: "UTC0"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]