From 24406e81532e4212ff825a23f30aa89708fd3704 Mon Sep 17 00:00:00 2001 From: Mathieu Lirzin Date: Sun, 11 Mar 2018 23:49:07 +0100 Subject: [PATCH] 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'. --- contrib/test-driver.scm | 6 +++--- 1 file 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: -- 2.11.4.GIT