bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

autobuild.m4 time zone fix


From: Simon Josefsson
Subject: autobuild.m4 time zone fix
Date: Mon, 18 Aug 2008 19:40:53 +0200
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/22.2 (gnu/linux)

Pushed.

/Simon

>From 9fa188508ca3951b0fd6c04dfeefff5a622fe38a Mon Sep 17 00:00:00 2001
From: Simon Josefsson <address@hidden>
Date: Mon, 18 Aug 2008 19:40:11 +0200
Subject: [PATCH] autobuild.m4: Use TZ=UTC to avoid time zone complexity.

---
 ChangeLog       |    4 ++++
 m4/autobuild.m4 |    6 +++---
 2 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 84978c0..57e3cfb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-08-18  Simon Josefsson  <address@hidden>
+
+       * m4/autobuild.m4: Use TZ=UTC to avoid time zone complexity.
+
 2008-08-18  Bruno Haible  <address@hidden>
 
        * lib/glthread/thread.h [USE_SOLARIS_THREADS]: Use thread_in_use(), not
diff --git a/m4/autobuild.m4 b/m4/autobuild.m4
index 70505c6..f0d00a0 100644
--- 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 @@ AC_DEFUN([AB_INIT],
 
   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
-- 
1.5.6.3





reply via email to

[Prev in Thread] Current Thread [Next in Thread]