From: Mathieu Lirzin Date: Sun, 11 Mar 2018 22:49:07 +0000 (+0100) Subject: maint: Use 'before-save-hook' in "contrib/test-driver.scm" X-Git-Tag: v1.16.2~35 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=24406e81532e4212ff825a23f30aa89708fd3704;p=thirdparty%2Fautomake.git 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'. --- 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: