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