build: use utc+0 when initialising git repo dates
Signed-off-by: Leah Rowe <leah@libreboot.org>20240612_branch
parent
e281966f22
commit
5c3fb9a4f8
2
build
2
build
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue