From d8a923f766b3ac842a25674ad0ddd81bfc584140 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Wed, 15 May 2024 03:10:25 +0100 Subject: [PATCH] build: use utc+0 when initialising git repo dates Signed-off-by: Leah Rowe --- build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build b/build index 37b9f0e..7d4427c 100755 --- a/build +++ b/build @@ -73,7 +73,7 @@ git_init() { [ -L ".git" ] && $err "Reference .git is a symlink" [ -e ".git" ] && return 0 - eval "$(setvars "$(date -Rd @${versiondate})" cdate _nogit)" + eval "$(setvars "$(date -Rud @${versiondate})" cdate _nogit)" git init || $err "${PWD}: cannot initialise Git repository" git add -A . || $err "${PWD}: cannot add files to Git repository"