build: use utc+0 when initialising git repo dates

Signed-off-by: Leah Rowe <leah@libreboot.org>
20240612_branch
Leah Rowe 2024-05-15 03:10:25 +01:00
parent e281966f22
commit 5c3fb9a4f8
1 changed files with 1 additions and 1 deletions

2
build
View File

@ -78,7 +78,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"