summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2016-01-24 20:30:07 +0100
committerDaniel Stenberg <daniel@haxx.se>2016-01-24 20:31:30 +0100
commitb9da2cfed112da5d7f65368774d8fa419e02163f (patch)
tree8097d0c216a2c88f06079878831e6a044d47bd7a
parent5a28126b226e1bcc3f924d889fda77a3fdd90495 (diff)
downloadcurl-b9da2cfed112da5d7f65368774d8fa419e02163f.tar.gz
maketgz: generate date stamp with LC_TIME=C
bug: http://curl.haxx.se/mail/lib-2016-01/0123.html
-rwxr-xr-xmaketgz4
1 files changed, 2 insertions, 2 deletions
diff --git a/maketgz b/maketgz
index d80461c1c..561c2ee25 100755
--- 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' \