build: use utc+0 when initialising git repo dates

Signed-off-by: Leah Rowe <leah@libreboot.org>
audit2-merge1
Leah Rowe 2024-05-15 03:10:25 +01:00 committed by Leah Rowe
parent 0794127986
commit d8a923f766
1 changed files with 1 additions and 1 deletions

2
build
View File

@ -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"