summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathieu Lirzin <mthl@gnu.org>2018-03-11 23:49:07 +0100
committerMathieu Lirzin <mthl@gnu.org>2018-03-11 23:59:27 +0100
commit24406e81532e4212ff825a23f30aa89708fd3704 (patch)
treef2e2cfd6b3f8ae769bd342902810c9c9e4d1a431
parent51823f144c513007d8c05f3c6c88732e91bd13fd (diff)
downloadautomake-24406e81532e4212ff825a23f30aa89708fd3704.tar.gz
maint: Use 'before-save-hook' in "contrib/test-driver.scm"
This a follow-up to commit 6bab5b26a1241b0e0edd058d2a921989f9a1747c. Use 'before-save-hook' instead of 'write-file-functions' to match what is done in other scripts. * contrib/test-driver.scm: Update hook usage and use 'UTC0' timezone instead of 'UTC'.
-rw-r--r--contrib/test-driver.scm6
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/test-driver.scm b/contrib/test-driver.scm
index 6f140f90f..ce34bc643 100644
--- a/contrib/test-driver.scm
+++ b/contrib/test-driver.scm
@@ -1,6 +1,6 @@
;;;; test-driver.scm - Guile test driver for Automake testsuite harness
-(define script-version "2018-01-17.23") ;UTC
+(define script-version "2018-03-11.22") ;UTC
;;; Copyright © 2015-2018 Free Software Foundation, Inc.
;;;
@@ -198,10 +198,10 @@ current output port is supposed to be redirected to a '.log' file."
(exit 0)))
;;; Local Variables:
-;;; eval: (add-hook 'write-file-functions 'time-stamp)
+;;; eval: (add-hook 'before-save-hook 'time-stamp)
;;; time-stamp-start: "(define script-version \""
;;; time-stamp-format: "%:y-%02m-%02d.%02H"
-;;; time-stamp-time-zone: "UTC"
+;;; time-stamp-time-zone: "UTC0"
;;; time-stamp-end: "\") ;UTC"
;;; End: