]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
maint: Use 'before-save-hook' in "contrib/test-driver.scm"
authorMathieu Lirzin <mthl@gnu.org>
Sun, 11 Mar 2018 22:49:07 +0000 (23:49 +0100)
committerMathieu Lirzin <mthl@gnu.org>
Sun, 11 Mar 2018 22:59:27 +0000 (23:59 +0100)
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

index 6f140f90f8e453a1630c83c286eeb84117f47dea..ce34bc6433f51393c0aeafac5ee93b98a5e511e0 100644 (file)
@@ -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: