]> granicus.if.org Git - curl/commitdiff
maketgz: generate date stamp with LC_TIME=C
authorDaniel Stenberg <daniel@haxx.se>
Sun, 24 Jan 2016 19:30:07 +0000 (20:30 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Sun, 24 Jan 2016 19:31:30 +0000 (20:31 +0100)
bug: http://curl.haxx.se/mail/lib-2016-01/0123.html

maketgz

diff --git a/maketgz b/maketgz
index d80461c1c20a35da5d314359d30b2f7f279ee8eb..561c2ee25fd79d3311759cf1b7d890a91c4956ab 100755 (executable)
--- a/maketgz
+++ b/maketgz
@@ -9,7 +9,7 @@
 #                            | (__| |_| |  _ <| |___
 #                             \___|\___/|_| \_\_____|
 #
-# Copyright (C) 1998 - 2015, Daniel Stenberg, <daniel@haxx.se>, et al.
+# Copyright (C) 1998 - 2016, Daniel Stenberg, <daniel@haxx.se>, et al.
 #
 # This software is licensed as described in the file COPYING, which
 # you should have received as part of this distribution. The terms
@@ -46,7 +46,7 @@ HEADER=include/curl/curlver.h
 CHEADER=src/tool_version.h
 
 # requires a date command that knows -u for UTC time zone
-datestamp=`date -u`
+datestamp=`LC_TIME=C date -u`
 
 # Replace version number in header file:
 sed -e 's/^#define LIBCURL_VERSION .*/#define LIBCURL_VERSION "'$libversion'"/g' \