changeset 10339:1ce07f07b1f0

autobuild.m4: Use TZ=UTC to avoid time zone complexity.
author Simon Josefsson <simon@josefsson.org>
date Mon, 18 Aug 2008 19:40:11 +0200
parents 03382fe4d739
children 6c358c1efb0b
files ChangeLog m4/autobuild.m4
diffstat 2 files changed, 7 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-08-18  Simon Josefsson  <simon@josefsson.org>
+
+	* m4/autobuild.m4: Use TZ=UTC to avoid time zone complexity.
+
 2008-08-18  Bruno Haible  <bruno@clisp.org>
 
 	* lib/glthread/thread.h [USE_SOLARIS_THREADS]: Use thread_in_use(), not
--- a/m4/autobuild.m4
+++ b/m4/autobuild.m4
@@ -1,5 +1,5 @@
-# autobuild.m4 serial 5
-dnl Copyright (C) 2004, 2006, 2007 Free Software Foundation, Inc.
+# autobuild.m4 serial 6
+dnl Copyright (C) 2004, 2006, 2007, 2008 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
@@ -29,7 +29,7 @@
 
   ifelse([$1],[],,[AC_MSG_NOTICE([autobuild mode... $1])])
 
-  date=`date +%Y%m%d-%H%M%S`
+  date=`TZ=UTC date +%Y%m%d-%H%M%S`
   if test "$?" != 0; then
     date=`date`
   fi