[newlib-cygwin] Cygwin: version: Use UTC timestamp as build time

Corinna Vinschen corinna@sourceware.org
Thu Jan 24 10:40:00 GMT 2019


https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=04e3dc112884313b79ff346651d6219e85aba7fd

commit 04e3dc112884313b79ff346651d6219e85aba7fd
Author: Corinna Vinschen <corinna@vinschen.de>
Date:   Thu Jan 24 11:39:43 2019 +0100

    Cygwin: version: Use UTC timestamp as build time
    
    Signed-off-by: Corinna Vinschen <corinna@vinschen.de>

Diff:
---
 winsup/cygwin/mkvers.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/winsup/cygwin/mkvers.sh b/winsup/cygwin/mkvers.sh
index 6309c84..b2db73c 100755
--- a/winsup/cygwin/mkvers.sh
+++ b/winsup/cygwin/mkvers.sh
@@ -58,7 +58,7 @@ parse_preproc_flags $CC
 #
 # Load the current date so we can work on individual fields
 #
-set -$- $(date +"%m %d %Y %H:%M")
+set -$- $(date -u +"%m %d %Y %H:%M")
 m=$1 d=$2 y=$3 hhmm=$4
 #
 # Set date into YYYY-MM-DD HH:MM:SS format



More information about the Cygwin-cvs mailing list