maketgz: generate date stamp with LC_TIME=C
bug: http://curl.haxx.se/mail/lib-2016-01/0123.html
This commit is contained in:
Родитель
5a28126b22
Коммит
b9da2cfed1
4
maketgz
4
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' \
|
||||
|
|
Загрузка…
Ссылка в новой задаче